void-packages/srcpkgs/python3.4-cairo/template

31 lines
881 B
Text
Raw Normal View History

# Template file for 'python3.4-cairo'
pkgname=python3.4-cairo
version=1.10.0
2014-06-24 21:34:24 +00:00
revision=5
wrksrc="pycairo-${version}"
build_style=waf3
patch_args="-Np1"
2014-06-24 21:34:24 +00:00
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"
homepage="http://cairographics.org/pycairo/"
license="LGPL-3"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://cairographics.org/releases/pycairo-${version}.tar.bz2"
checksum=9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
2014-06-24 21:34:24 +00:00
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"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}