diff options
-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" |