0
0
Fork 0
haikuports/sys-devel/autoconf/autoconf213-2.13.recipe

50 lines
1.5 KiB
Bash

SUMMARY="A tool to automatically configure 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/"
COPYRIGHT="1992-1998 Free Software Foundation, Inc."
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://ftp.gnu.org/gnu/autoconf/autoconf-$portVersion.tar.gz"
CHECKSUM_SHA256="f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e"
SOURCE_DIR="autoconf-$portVersion"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
autoconf213$secondaryArchSuffix = $portVersion
cmd:autoconf_$portVersion$secondaryArchSuffix = $portVersion
cmd:autoheader_$portVersion$secondaryArchSuffix = $portVersion
cmd:autoreconf_$portVersion$secondaryArchSuffix = $portVersion
cmd:autoscan_$portVersion$secondaryArchSuffix = $portVersion
cmd:autoupdate_$portVersion$secondaryArchSuffix = $portVersion
cmd:ifnames_$portVersion$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoconf
runConfigure ./configure --program-suffix=-$portVersion
make $jobArgs acdatadir=$dataDir/autoconf-$portVersion
}
INSTALL()
{
make acdatadir=$dataDir/autoconf-$portVersion install
}