71 lines
1.6 KiB
Bash
71 lines
1.6 KiB
Bash
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/"
|
|
COPYRIGHT="1992-2010 Free Software Foundation, Inc."
|
|
LICENSE="
|
|
GNU GPL v2
|
|
GNU GPL v3"
|
|
REVISION="4"
|
|
SOURCE_URI="http://ftp.gnu.org/gnu/autoconf/autoconf-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="872f4cadf12e7e7c8a2414e047fdff26b517c7f1a977d72433c124d0d3acaa85"
|
|
SOURCE_DIR="autoconf-$portVersion"
|
|
PATCHES="autoconf264-$portVersion.patchset"
|
|
BUILD_PACKAGE_ACTIVATION_PHASE="INSTALL"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
autoconf264 = $portVersion compat >= 2.60
|
|
cmd:autoconf_2.64 = $portVersion compat >= 2.60
|
|
cmd:autoheader_2.64 = $portVersion compat >= 2.60
|
|
cmd:autom4te_2.64 = $portVersion compat >= 2.60
|
|
cmd:autoreconf_2.64 = $portVersion compat >= 2.60
|
|
cmd:autoscan_2.64 = $portVersion compat >= 2.60
|
|
cmd:autoupdate_2.64 = $portVersion compat >= 2.60
|
|
cmd:ifnames_2.64 = $portVersion compat >= 2.60
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
coreutils
|
|
diffutils
|
|
cmd:awk
|
|
cmd:m4 >= 1.4
|
|
cmd:perl >= 5
|
|
cmd:sh
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf
|
|
PERL="perl" M4="m4" SED="sed" \
|
|
./configure $configureDirArgs --program-suffix=-$portVersion
|
|
touch doc/*.info
|
|
make $jobArgs pkgdatadir=$dataDir/autoconf-$portVersion
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make pkgdatadir=$dataDir/autoconf-$portVersion install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|