python-pycairo: nasty pkg-config fix from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4157 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
46e13cec41
commit
2c22638257
|
@ -3,7 +3,7 @@ SECTION = "python-devel"
|
|||
HOMEPAGE = "http://cairographics.org/pycairo"
|
||||
LICENSE = "LGPL MPL"
|
||||
DEPENDS = "cairo"
|
||||
PR = "ml0"
|
||||
PR = "ml1"
|
||||
|
||||
SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz"
|
||||
S = "${WORKDIR}/pycairo-${PV}"
|
||||
|
@ -13,4 +13,7 @@ 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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue