Update apr recipe

* Explicitly declare patch.
* Add provides cmd:apr_1_config.
* Use jobArgs.
* Fix developLibDir paths in apr-1-config.
This commit is contained in:
Ingo Weinhold
2013-04-30 20:52:36 +02:00
parent 9323b45483
commit 14bed6a958

View File

@@ -4,11 +4,14 @@ SRC_URI="http://www.apache.org/dist/apr/apr-1.4.6.tar.gz"
COPYRIGHT="2012 The Apache Software Foundation."
LICENSE="Apache v2"
CHECKSUM_MD5="76cc4457fbb71eefdafa27dba8f511fb"
REVISION="5"
REVISION="6"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="apr-1.4.6.patch"
PROVIDES="
apr = $portVersion compat >= 1
cmd:apr_1_config
lib:libapr = $portVersion compat >= 1
lib:libapr_1 = $portVersion compat >= 1
"
@@ -41,7 +44,7 @@ BUILD()
# TODO: fix this hack (by finding out why top_builddir seems to be unset)!
ln -sfn $sourceDir/libtool /libtool
make
make $jobArgs
}
INSTALL()
@@ -51,6 +54,9 @@ INSTALL()
# prepare develop/lib
prepareInstalledDevelLibs libapr-1
fixPkgconfig
# fix apr-1-config
fixDevelopLibDirReferences $binDir/apr-1-config
}
TEST()