diff options
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.bb | 13 |
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/" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | DEPENDS = "apr expat gdbm" | 4 | DEPENDS = "apr expat gdbm" |
5 | 5 | ||
6 | BBCLASSEXTEND = "native" | 6 | BBCLASSEXTEND = "native nativesdk" |
7 | 7 | ||
8 | LICENSE = "Apache-2.0" | 8 | LICENSE = "Apache-2.0" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ | 9 | LIC_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 | ||
52 | do_configure_prepend_class-nativesdk() { | ||
53 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk | ||
54 | } | ||
55 | |||
56 | do_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 | |||
52 | FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" | 63 | FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" |
53 | FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la" | 64 | FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la" |
54 | FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*" | 65 | FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*" |