diff options
Diffstat (limited to 'meta/packages/python/python-pycairo_1.4.0.bb')
-rw-r--r-- | meta/packages/python/python-pycairo_1.4.0.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/packages/python/python-pycairo_1.4.0.bb b/meta/packages/python/python-pycairo_1.4.0.bb index 824877558..cd00c61c1 100644 --- a/meta/packages/python/python-pycairo_1.4.0.bb +++ b/meta/packages/python/python-pycairo_1.4.0.bb @@ -3,10 +3,17 @@ SECTION = "python-devel" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPL MPL" DEPENDS = "cairo" -PR = "ml1" +PR = "ml1.3" SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz" S = "${WORKDIR}/pycairo-${PV}" inherit distutils pkgconfig +do_install_append () { + install -d ${D}${includedir} + install -d ${D}${libdir} + mv ${D}${datadir}/include/* ${D}${includedir} + mv ${D}${datadir}/lib/* ${D}${libdir} + sed -i -e 's#prefix=.*#prefix=${prefix}#' ${D}${libdir}/pkgconfig/pycairo.pc +} |