summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr/apr-util_1.5.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/apr/apr-util_1.5.4.bb')
-rw-r--r--meta/recipes-support/apr/apr-util_1.5.4.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.5.4.bb b/meta/recipes-support/apr/apr-util_1.5.4.bb
index ac01b63ecd..6a14d14d41 100644
--- a/meta/recipes-support/apr/apr-util_1.5.4.bb
+++ b/meta/recipes-support/apr/apr-util_1.5.4.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://apr.apache.org/"
3SECTION = "libs" 3SECTION = "libs"
4DEPENDS = "apr expat gdbm" 4DEPENDS = "apr expat gdbm"
5 5
6BBCLASSEXTEND = "native" 6BBCLASSEXTEND = "native nativesdk"
7 7
8LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ 9LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
@@ -49,6 +49,17 @@ do_configure_append_class-native() {
49 sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${B}/build/rules.mk 49 sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${B}/build/rules.mk
50} 50}
51 51
52do_configure_prepend_class-nativesdk() {
53 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
54}
55
56do_configure_append_class-nativesdk() {
57 sed -i "s#\(apr_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${S}/build/rules.mk
58 sed -i "s#\(apr_builders\)=.*#\1=${STAGING_DATADIR}/build-1#" ${S}/build/rules.mk
59 sed -i "s#\(top_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${S}/build/rules.mk
60 sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${S}/build/rules.mk
61}
62
52FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" 63FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so"
53FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la" 64FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la"
54FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*" 65FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*"