wok-current view pygtk/receipt @ rev 2688

Revert: cairo, firefox, xorg-xproto, zip
* Winners don't use drugs
author Mallory MOLLO <mallory@skyrock.com>
date Wed Apr 22 17:45:58 2009 +0200 (2009-04-22)
parents 93b397dc8274
children c0829358d255
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/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin
33 chmod +x $fs/usr/bin/*
34 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
35 }