wok view pygtk/receipt @ rev 15441
Up: eio (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:45 2013 +0100 (2013-11-05) |
parents | fee73974ec3c |
children | 16df76e1fc6a |
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pygtk.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
14 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
15 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
16 xorg-libXdamage libffi python-numpy"
17 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \
18 libglade-dev libxml2-dev libffi-dev python-numpy"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 #https://bugzilla.gnome.org/show_bug.cgi?id=623965
25 patch -Np1 -i $stuff/python27.patch
26 ./configure --disable-docs $CONFIGURE_ARGS &&
27 make $MAKEFLAGS && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
36 }