summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-extras/packages/python/python-pycairo_1.4.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-extras/packages/python/python-pycairo_1.4.0.bb b/meta-extras/packages/python/python-pycairo_1.4.0.bb
index a74c59fdaa..9bb2fdfcd8 100644
--- a/meta-extras/packages/python/python-pycairo_1.4.0.bb
+++ b/meta-extras/packages/python/python-pycairo_1.4.0.bb
@@ -3,7 +3,7 @@ SECTION = "python-devel"
3HOMEPAGE = "http://cairographics.org/pycairo" 3HOMEPAGE = "http://cairographics.org/pycairo"
4LICENSE = "LGPL MPL" 4LICENSE = "LGPL MPL"
5DEPENDS = "cairo" 5DEPENDS = "cairo"
6PR = "ml0" 6PR = "ml1"
7 7
8SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz" 8SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz"
9S = "${WORKDIR}/pycairo-${PV}" 9S = "${WORKDIR}/pycairo-${PV}"
@@ -13,4 +13,7 @@ inherit distutils pkgconfig
13do_stage() { 13do_stage() {
14 install -d ${STAGING_INCDIR} 14 install -d ${STAGING_INCDIR}
15 install -m 0644 cairo/pycairo.h ${STAGING_INCDIR} 15 install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
16
17 # nasty pkgconfig fix necessary here
18 sed -i -e s,${STAGING_DIR_NATIVE},, pycairo.pc
16} 19}