Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald authored and pmenzel committed Jul 22, 2016
1 parent 7349c94 commit aa51931
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions 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
}

0 comments on commit aa51931

Please sign in to comment.