wok-next view pygtk/receipt @ rev 3802

Update: Category for -dev packages
author Matthew Sheets <rcx@zoominternet.net>
date Tue Aug 04 16:18:35 2009 +0000 (2009-08-04)
parents 9b20db26bb2f
children facb3e18dff4
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtk"
4 VERSION="2.12.1"
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 xorg-libXdamage"
11 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.pygtk.org/"
14 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --disable-docs \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
33 }