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 | 19 |
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 @@ | |||
1 | DESCRIPTION = "Python Bindings for the Cairo canvas library" | ||
2 | SECTION = "python-devel" | ||
3 | HOMEPAGE = "http://cairographics.org/pycairo" | ||
4 | LICENSE = "LGPL MPL" | ||
5 | DEPENDS = "cairo" | ||
6 | PR = "ml1" | ||
7 | |||
8 | SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/pycairo-${PV}" | ||
10 | |||
11 | inherit distutils pkgconfig | ||
12 | |||
13 | do_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 | } | ||