void-packages/srcpkgs/pygobject2/template

40 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-09-29 17:17:40 +02:00
# Template file for 'pygobject2'
pkgname=pygobject2
version=2.28.6
revision=5
2011-09-29 17:17:40 +02:00
wrksrc=${pkgname%2}-${version}
build_style=gnu-configure
2011-09-29 17:17:40 +02:00
configure_args="--disable-introspection"
hostmakedepends="pkg-config"
makedepends="libffi-devel libglib-devel cairo-devel python-devel pycairo-devel"
2011-09-29 17:17:40 +02:00
short_desc="Python bindings for GObject (GLib 2.x)"
homepage="http://www.pygtk.org/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/${pkgname%2}/2.28/${pkgname%2}-$version.tar.xz"
2011-09-29 17:17:40 +02:00
checksum=fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8
long_desc="
Pygobject is a set of Python bindings for the GLib's GObject library,
version 2."
pygobject2-devel_package() {
depends="libffi-devel libglib-devel libgirepository-devel pycairo-devel pygobject2>=${version}"
short_desc+=" -- development files"
pycompile_module="usr/share/pygobject/2.0/codegen"
replaces="pygobject-devel<3.0.0"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}
2011-09-29 17:17:40 +02:00
pygobject2_package() {
depends="cairo libgirepository python pycairo"
pycompile_module="glib gobject gtk-2.0 pygtk"
replaces="pygobject<3.0.0"
pkg_install() {
vmove usr
}
}