wok-next view pygtk/receipt @ rev 5021
Up: libgphoto2, gphoto2 (fix security and bugs)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 01 16:54:24 2010 +0000 (2010-03-01) |
parents | d019d5389b1c |
children | 1185a6cb9260 |
line source
1 # SliTaz package receipt.
3 PACKED_SIZE="8.0k"
4 UNPACKED_SIZE="4.0k"
5 PACKAGE="pygtk"
6 VERSION="2.16.0"
7 CATEGORY="development"
8 SHORT_DESC="GTK+ for Python"
9 MAINTAINER="erjo@slitaz.org"
10 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
12 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
13 xorg-libXdamage libffi "
14 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.pygtk.org/"
17 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.16/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --prefix=/usr \
25 --infodir=/usr/share/info \
26 --disable-docs \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
37 }