python3.4-cairo: fix cross build

This commit is contained in:
Alessio Sergi 2014-06-24 23:34:24 +02:00
parent 8a71143907
commit cc4d485524
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'python3.4-cairo'
pkgname=python3.4-cairo
version=1.10.0
revision=4
revision=5
wrksrc="pycairo-${version}"
build_style=waf3
patch_args="-Np1"
hostmakedepends="pkg-config which"
hostmakedepends="pkg-config which python3.4"
makedepends="cairo-devel python3.4-devel"
replaces="pycairo>=0"
short_desc="Python3.4 bindings for the cairo graphics library"
@ -15,6 +15,10 @@ maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://cairographics.org/releases/pycairo-${version}.tar.bz2"
checksum=9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
do_configure() {
PYTHON=python3.4 python3.4 waf configure --prefix=/usr
}
python3.4-cairo-devel_package() {
depends="python3.4-devel ${sourcepkg}>=${version}_${revision}"
replaces="pycairo-devel>=0"