wok view pygtk/receipt @ rev 9639

linux: Fixed check_modules.sh script. It only cats files.list if linux-libre is not greped in receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Apr 26 19:47:04 2011 +0000 (2011-04-26)
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 }