From 1a3dff84d7d92e10906cfe180e13e1f259194cfe Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 12 Dec 2015 10:32:44 +0000 Subject: [PATCH] autoconf: add recipe for autoconf 2.64 * move 2.13 recipe to autoconf directory. * fix dataDir name collision. --- .../autoconf213-2.13.recipe | 4 +- sys-devel/autoconf/autoconf264-2.64.recipe | 67 +++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) rename sys-devel/{autoconf213 => autoconf}/autoconf213-2.13.recipe (92%) create mode 100644 sys-devel/autoconf/autoconf264-2.64.recipe diff --git a/sys-devel/autoconf213/autoconf213-2.13.recipe b/sys-devel/autoconf/autoconf213-2.13.recipe similarity index 92% rename from sys-devel/autoconf213/autoconf213-2.13.recipe rename to sys-devel/autoconf/autoconf213-2.13.recipe index 4bd38e673..2df2db44b 100644 --- a/sys-devel/autoconf213/autoconf213-2.13.recipe +++ b/sys-devel/autoconf/autoconf213-2.13.recipe @@ -40,10 +40,10 @@ BUILD() { autoconf runConfigure ./configure --program-suffix=-$portVersion - make $jobArgs + make $jobArgs acdatadir=$dataDir/autoconf-$portVersion } INSTALL() { - make install + make acdatadir=$dataDir/autoconf-$portVersion install } diff --git a/sys-devel/autoconf/autoconf264-2.64.recipe b/sys-devel/autoconf/autoconf264-2.64.recipe new file mode 100644 index 000000000..b8323a10f --- /dev/null +++ b/sys-devel/autoconf/autoconf264-2.64.recipe @@ -0,0 +1,67 @@ +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/" +SOURCE_URI="http://ftp.gnu.org/gnu/autoconf/autoconf-$portVersion.tar.bz2" +CHECKSUM_SHA256="872f4cadf12e7e7c8a2414e047fdff26b517c7f1a977d72433c124d0d3acaa85" +SOURCE_DIR="autoconf-$portVersion" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" +LICENSE=" + GNU GPL v2 + GNU GPL v3" +COPYRIGHT="1992-2010 Free Software Foundation, Inc." + +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 + cmd:awk + coreutils + diffutils + cmd:m4 >= 1.4 + cmd:perl >= 5 + cmd:sh + " +BUILD_REQUIRES=" + " +BUILD_PREREQUIRES=" + haiku_devel + cmd:automake + cmd:autoreconf + cmd:make + cmd:sed + cmd:makeinfo + " + +BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL + +BUILD() +{ + autoreconf + PERL="perl" M4="m4" SED="sed" \ + ./configure $configureDirArgs --program-suffix=-$portVersion + make $jobArgs pkgdatadir=$dataDir/autoconf-$portVersion +} + +INSTALL() +{ + make pkgdatadir=$dataDir/autoconf-$portVersion install +} + +TEST() +{ + make check +}