diff options
Diffstat (limited to 'meta/packages/python/python-pycairo_1.8.10.bb')
| -rw-r--r-- | meta/packages/python/python-pycairo_1.8.10.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/python/python-pycairo_1.8.10.bb b/meta/packages/python/python-pycairo_1.8.10.bb new file mode 100644 index 0000000000..1ff603875a --- /dev/null +++ b/meta/packages/python/python-pycairo_1.8.10.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "Python Bindings for the Cairo canvas library" | ||
| 2 | HOMEPAGE = "http://cairographics.org/pycairo" | ||
| 3 | BUGTRACKER = "http://bugs.freedesktop.org" | ||
| 4 | SECTION = "python-devel" | ||
| 5 | LICENSE = "LGPLv2.1 & MPLv1.1" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=f2e071ab72978431b294a0d696327421" | ||
| 7 | # cairo >= 1.8.8 | ||
| 8 | DEPENDS = "cairo" | ||
| 9 | PR = "ml0" | ||
| 10 | |||
| 11 | SRC_URI = "http://cairographics.org/releases/py2cairo-${PV}.tar.gz" | ||
| 12 | S = "${WORKDIR}/pycairo-${PV}" | ||
| 13 | |||
| 14 | inherit distutils pkgconfig | ||
| 15 | |||
| 16 | do_install_append () { | ||
| 17 | install -d ${D}${includedir} | ||
| 18 | install -d ${D}${libdir} | ||
| 19 | mv ${D}${datadir}/include/* ${D}${includedir} | ||
| 20 | mv ${D}${datadir}/lib/* ${D}${libdir} | ||
| 21 | sed -i -e 's#prefix=.*#prefix=${prefix}#' ${D}${libdir}/pkgconfig/pycairo.pc | ||
| 22 | } | ||
