wok-6.x view pygtk/receipt @ rev 6109

fox, fox14, glew, libqwt5-qt4, normalize, nut, ophcrack, scribus: fix build_depends (no virtual packages)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 04 12:47:38 2010 +0200 (2010-09-04)
parents 734283599021
children 5921dc28d8c6
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtk"
4 VERSION="2.16.0"
5 CATEGORY="development"
6 SHORT_DESC="GTK+ for Python"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
9 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
10 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
11 xorg-libXdamage libffi "
12 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.pygtk.org/"
15 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.16/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --disable-docs \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
35 }