wok view pygtk/receipt @ rev 10825

Up python-pytz (2011g)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 21:49:27 2011 +0200 (2011-06-06)
parents d7f32ea18552
children 8e4c74abdf74
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.pygtk.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
13 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
14 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
15 xorg-libXdamage libffi"
16 BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \
17 libglade-dev libxml2-dev libffi-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 #https://bugzilla.gnome.org/show_bug.cgi?id=623965
24 patch -Np1 -i $stuff/python27.patch
25 ./configure --disable-docs $CONFIGURE_ARGS &&
26 make -j 4 && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
35 }