From aa51931927c01d592a82dc70c1ec81460c2496ce Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 22 Jul 2016 12:44:47 +0200 Subject: [PATCH] autoconf_compat: add autoconf 2.13 required by firefox and friends The Firefox family of programs currentty requires the obsolete Autoconf version 2.13 to be build. This package contains Autoconf 2.13 as a compatibility package. As the Makefile does not support destdir and we only need a subset of the files installed, (e.g. no documentation), mee_install does not call make install but does the job itself. --- autoconf_compat.be0 | 82 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100755 autoconf_compat.be0 diff --git a/autoconf_compat.be0 b/autoconf_compat.be0 new file mode 100755 index 000000000..2d0153e3e --- /dev/null +++ b/autoconf_compat.be0 @@ -0,0 +1,82 @@ +#!/usr/bin/env beesh + +# BEE_VERSION autoconf_compat-2.13-0 + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="http://ftp.gnu.org/gnu/autoconf/autoconf-${PKGVERSION}.tar.gz" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Add filename patterns to the EXCLUDE array of files that should not +## be added to you package but may be present in the image directory. + +# EXCLUDE+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be build +## outside the source directory and need to be build inside the source +## directory. + +# build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + bee_build acdatadir=$DATADIR/autoconf$PKGVERSION +} + +mee_install() { + mkdir -p $D$BINDIR $D$DATADIR/autoconf$PKGVERSION + + for p in autoconf autoheader autoreconf autoupdate ifnames autoscan; do + /usr/bin/install -c $p $D$BINDIR/${p}$PKGVERSION + done + + for f in autoconf.m4f autoheader.m4f; do + /usr/bin/install -c -m 644 $f $D$DATADIR/autoconf$PKGVERSION/$i + done + + for f in autoconf.m4 acgeneral.m4 acoldnames.m4 acspecific.m4 autoheader.m4 acconfig.h; do \ + /usr/bin/install -c -m 644 $S/$f $D$DATADIR/autoconf$PKGVERSION/$i + done + + for f in acfunctions acheaders acidentifiers acprograms acmakevars; do + /usr/bin/install -c -m 644 $S/$f $D$DATADIR/autoconf$PKGVERSION/$i + done +}