summaryrefslogtreecommitdiffstats
path: root/meta/packages/python/python-pycairo_1.4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/python/python-pycairo_1.4.0.bb')
-rw-r--r--meta/packages/python/python-pycairo_1.4.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/python/python-pycairo_1.4.0.bb b/meta/packages/python/python-pycairo_1.4.0.bb
new file mode 100644
index 0000000000..9bb2fdfcd8
--- /dev/null
+++ b/meta/packages/python/python-pycairo_1.4.0.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "Python Bindings for the Cairo canvas library"
2SECTION = "python-devel"
3HOMEPAGE = "http://cairographics.org/pycairo"
4LICENSE = "LGPL MPL"
5DEPENDS = "cairo"
6PR = "ml1"
7
8SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz"
9S = "${WORKDIR}/pycairo-${PV}"
10
11inherit distutils pkgconfig
12
13do_stage() {
14 install -d ${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
19}