diff options
author | Koen Kooi <koen@openembedded.org> | 2010-06-29 11:13:57 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-06-29 11:41:50 +0200 |
commit | 2999c4531deb2783ef94cd13843be6cd6adb992a (patch) | |
tree | caebd8e9f7e8e838f476b352acfd28afc0ba7152 /recipes/python | |
parent | fb0d92fa1b641de3f213826d81e423ea0cd531af (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.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 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" |