summaryrefslogtreecommitdiff
path: root/packages/python/python-pycairo_1.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-pycairo_1.2.2.bb')
-rw-r--r--packages/python/python-pycairo_1.2.2.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/python/python-pycairo_1.2.2.bb b/packages/python/python-pycairo_1.2.2.bb
new file mode 100644
index 0000000000..46638d2794
--- /dev/null
+++ b/packages/python/python-pycairo_1.2.2.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Python Bindings for the Cairo canvas library"
+SECTION = "python-devel"
+HOMEPAGE = "http://cairographics.org/pycairo"
+LICENSE = "LGPL MPL"
+DEPENDS = "cairo"
+PR = "ml1"
+
+SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \
+ file://fix-pkgconfig-dir.patch;patch=1"
+S = "${WORKDIR}/pycairo-${PV}"
+
+inherit distutils pkgconfig
+
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
+}
+