pygtk: add -devel subpkg, bumprev.

--HG--
extra : convert_revision : 14abb7765e7473da3c349ba870084e312c2825fd
This commit is contained in:
Juan RP 2010-03-05 16:01:54 +01:00
parent fdb0512630
commit 0596d4f941
3 changed files with 24 additions and 4 deletions

1
srcpkgs/pygtk-devel Symbolic link
View file

@ -0,0 +1 @@
pygtk

View file

@ -0,0 +1,15 @@
# Template file for 'pygtk-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pygtk
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/{include,share,bin} ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/{pkgconfig,pygtk} ${DESTDIR}/usr/lib
}

View file

@ -1,7 +1,7 @@
# Template file for 'pygtk'
pkgname=pygtk
version=2.16.0
revision=1
revision=2
distfiles="${GNOME_SITE}/$pkgname/2.16/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Python bindings for the GTK+ toolkit"
@ -10,7 +10,10 @@ checksum=7fae5e01af217a01738eae41c38ad7f86d1f538f444300d0fa2847aafb7444a8
long_desc="
Pygtk is a set of Python bindings for the GTK+ toolkit."
subpackages="pygtk-devel"
# XXX: missing python-numpy build dep
Add_dependency run glibc
Add_dependency run gtk+
Add_dependency run atk
Add_dependency run glib
@ -18,10 +21,11 @@ Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run glibc
Add_dependency run libglade
Add_dependency run libxml2
Add_dependency run python
Add_dependency run pygobject
Add_dependency run pycairo
Add_dependency build pkg-config
Add_dependency build python-devel
Add_dependency build gtk+-devel
@ -34,8 +38,8 @@ Add_dependency build fontconfig-devel
Add_dependency build glibc-devel
Add_dependency build libglade-devel
Add_dependency build libxml2-devel
Add_dependency full pygobject
Add_dependency full pycairo
Add_dependency build pygobject-devel
Add_dependency build pycairo-devel
post_install()
{