mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 20:02:24 +02:00
python: Promote from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5092 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
19
meta/packages/python/python-pycairo_1.4.0.bb
Normal file
19
meta/packages/python/python-pycairo_1.4.0.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
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"
|
||||
S = "${WORKDIR}/pycairo-${PV}"
|
||||
|
||||
inherit distutils pkgconfig
|
||||
|
||||
do_stage() {
|
||||
install -d ${STAGING_INCDIR}
|
||||
install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
|
||||
|
||||
# nasty pkgconfig fix necessary here
|
||||
sed -i -e s,${STAGING_DIR_NATIVE},, pycairo.pc
|
||||
}
|
||||
Reference in New Issue
Block a user