-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from mariux64/autoconf_compat
autoconf_compat: Add autoconf 2.13 required by Firefox and friends
- Loading branch information
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |