Skip to content

autoconf_compat: add autoconf 2.13 required by firefox and friends #69

Merged
merged 1 commit into from Jul 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use HTTPS?


###############################################################################
## 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
}