summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-21 09:57:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-24 17:27:16 +0100
commit66a7de0a12c53b672d59341d6e9897f9bd2f10e4 (patch)
treebed3749f15f97c52e24d4a7f57be41d25824790e /meta/recipes-support/apr
parent7f30c4a0b866b2a71706cfd78d7cef1fbca6c266 (diff)
downloadpoky-66a7de0a12c53b672d59341d6e9897f9bd2f10e4.tar.gz
apr-util: add native support
* needed for native subversion * do_configure_append_virtclass-native is needed, because apr_builddir points to /OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/build-1 and we're not installing libtool from apr there (From OE-Core rev: 1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr')
-rw-r--r--meta/recipes-support/apr/apr-util_1.3.12.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.3.12.bb b/meta/recipes-support/apr/apr-util_1.3.12.bb
index 800e67e4cb..0064c51553 100644
--- a/meta/recipes-support/apr/apr-util_1.3.12.bb
+++ b/meta/recipes-support/apr/apr-util_1.3.12.bb
@@ -3,6 +3,8 @@ HOMEPAGE = "http://apr.apache.org/"
3SECTION = "libs" 3SECTION = "libs"
4DEPENDS = "apr expat gdbm" 4DEPENDS = "apr expat gdbm"
5 5
6BBCLASSEXTEND = "native"
7
6LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ 9LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
8 file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42" 10 file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42"
@@ -33,6 +35,12 @@ OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
33do_configure_prepend() { 35do_configure_prepend() {
34 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk 36 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
35} 37}
38do_configure_prepend_virtclass-native() {
39 cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk
40}
41do_configure_append_virtclass-native() {
42 sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk
43}
36 44
37FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" 45FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so"
38FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.*" 46FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.*"