packages/apr/apr,apr-util: Stage the apr_rules.mk and install it as rules.mk in apr...
authorHolger Freyther <zecke@selfish.org>
Thu, 27 Dec 2007 12:23:23 +0000 (12:23 +0000)
committerHolger Freyther <zecke@selfish.org>
Thu, 27 Dec 2007 12:23:23 +0000 (12:23 +0000)
packages/apr/apr-util_1.2.7.bb
packages/apr/apr_1.2.7.bb

index 1543714..70ac239 100644 (file)
@@ -20,6 +20,7 @@ inherit autotools lib_package binconfig
 OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
 
 do_configure() {
+  cp ${STAGING_DATADIR}/apr_rules.mk ${S}/build/rules.mk
   oe_runconf
 }
 
index d11c1f5..d0f2916 100644 (file)
@@ -17,4 +17,5 @@ do_configure() {
 
 do_stage() {
   autotools_stage_all
+  cp ${S}/build/apr_rules.mk ${STAGING_DATADIR}
 }