New package: py2cairo-1.10.
This commit is contained in:
parent
facf37b13e
commit
7c23307f54
2 changed files with 33 additions and 0 deletions
1
srcpkgs/py2cairo-devel
Symbolic link
1
srcpkgs/py2cairo-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
py2cairo
|
32
srcpkgs/py2cairo/template
Normal file
32
srcpkgs/py2cairo/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'py2cairo'
|
||||
pkgname=py2cairo
|
||||
version=1.10.0
|
||||
revision=1
|
||||
build_style=waf
|
||||
hostmakedepends="pkg-config which"
|
||||
makedepends="cairo-devel python-devel"
|
||||
short_desc="Python2 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.bz2"
|
||||
checksum=d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431
|
||||
|
||||
py2cairo-devel_package() {
|
||||
replaces="pycairo-devel<1.10"
|
||||
depends="${sourcepkg}>=${version}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
py2cairo_package() {
|
||||
replaces="pycairo<1.10"
|
||||
depends="python"
|
||||
pycompile_module="cairo"
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue