summaryrefslogtreecommitdiff
path: root/recipes/python
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-06-29 11:13:57 +0200
committerKoen Kooi <koen@openembedded.org>2010-06-29 11:41:50 +0200
commit2999c4531deb2783ef94cd13843be6cd6adb992a (patch)
treecaebd8e9f7e8e838f476b352acfd28afc0ba7152 /recipes/python
parentfb0d92fa1b641de3f213826d81e423ea0cd531af (diff)
python-pycairo 1.8.0: convert to new style staging and install headers in proper place
Diffstat (limited to 'recipes/python')
-rw-r--r--recipes/python/python-pycairo_1.8.0.bb10
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 6437c373d1..0b44acbad3 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"