void-packages/srcpkgs/pycairo/template

30 lines
735 B
Text

# Template file for 'pycairo'
pkgname=pycairo
version=1.8.8
revision=8
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="cairo-devel python-devel"
short_desc="Python 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/$pkgname-$version.tar.gz"
checksum=2f52599943ca03c8ff336a0e84b1c8b74f30e2a3de9cb6a9a42a93a848832860
pycairo-devel_package() {
depends="pycairo>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
pycairo_package() {
depends="python"
pycompile_module="cairo"
pkg_install() {
vmove usr
}
}