[oe-commits] Koen Kooi : python-pycairo 1.8.0: convert to new style staging and install headers in proper place
git version control
git at git.openembedded.org
Tue Jun 29 09:58:53 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2999c4531deb2783ef94cd13843be6cd6adb992a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2999c4531deb2783ef94cd13843be6cd6adb992a
Author: Koen Kooi <koen at openembedded.org>
Date: Tue Jun 29 11:13:57 2010 +0200
python-pycairo 1.8.0: convert to new style staging and install headers in proper place
---
recipes/python/python-pycairo_1.8.0.bb | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes/python/python-pycairo_1.8.0.bb b/recipes/python/python-pycairo_1.8.0.bb
index 6437c37..0b44acb 100644
--- a/recipes/python/python-pycairo_1.8.0.bb
+++ b/recipes/python/python-pycairo_1.8.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://cairographics.org/pycairo"
LICENSE = "LGPL MPL"
# cairo >= 1.8.0
DEPENDS = "cairo"
-PR = "ml0"
+PR = "ml4"
DEFAULT_PREFERENCE = "-1"
@@ -18,9 +18,11 @@ do_configure_append() {
sed -e 's:@prefix@:${prefix}:' -e 's:@includedir@:\$\{prefix\}/include:' -e 's:@VERSION@:${PV}:' pycairo.pc.in > pycairo.pc
}
-do_stage() {
- install -d ${STAGING_INCDIR}
- install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
+do_install_append() {
+ mv ${D}${datadir}/include/* ${D}${includedir}
+ mv ${D}${datadir}/lib/* ${D}${libdir}
+ install -d ${D}${includedir}/pycairo
+ ln -sf ..//pycairo.h ${D}${includedir}/pycairo/
}
SRC_URI[md5sum] = "847f5377c32228a656819f5bd18eb6b4"
More information about the Openembedded-commits
mailing list