wok-4.x view pygtk/receipt @ rev 9703
gcc: first tiny fix (missing -- befor libexecdir)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 16:39:31 2011 +0200 (2011-05-08) |
parents | 66d952425df7 |
children | d7f32ea18552 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtk"
4 VERSION="2.24.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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.pygtk.org/"
14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 #https://bugzilla.gnome.org/show_bug.cgi?id=623965
21 patch -Np1 -i $stuff/python27.patch
22 ./configure \
23 --disable-docs &&
24 make -j 4 &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
34 }