Add autoconf 2.13

This commit is contained in:
Theodore Kokkoris
2014-12-09 21:15:42 +00:00
parent add9af0d38
commit 101ce8e17c

View File

@@ -0,0 +1,57 @@
SUMMARY="A tool for automatically configuring source code"
DESCRIPTION="GNU Autoconf is a tool for configuring source code and makefiles. Using \
autoconf, programmers can create portable and configurable packages, because \
the person building the package is allowed to specify various configuration \
options."
HOMEPAGE="http://www.gnu.org/software/autoconf/"
SRC_URI="http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz"
CHECKSUM_SHA256="f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e"
REVISION="1"
SOURCE_DIR="autoconf-2.13"
LICENSE="GNU GPL v2"
COPYRIGHT="1992-1998 Free Software Foundation, Inc."
ARCHITECTURES="x86_gcc2 x86 arm"
SECONDARY_ARCHITECTURES="x86_gcc2 x86 arm"
PROVIDES="
autoconf_2.13$secondaryArchSuffix = $portVersion
cmd:autoconf_2.13$secondaryArchSuffix = $portVersion
cmd:autoheader_2.13$secondaryArchSuffix = $portVersion
cmd:autoreconf_2.13$secondaryArchSuffix = $portVersion
cmd:autoscan_2.13$secondaryArchSuffix = $portVersion
cmd:autoupdate_2.13$secondaryArchSuffix = $portVersion
cmd:ifnames_2.13$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:autoconf
"
BUILD()
{
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
for bin in $(ls $binDir); do
mv $binDir/$bin $binDir/${bin}-2.13
done
}