summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/python/python-pycairo_1.4.0.bb
blob: 9bb2fdfcd8ffdf8a0a737c83f9706f87ee7ddcfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}