wok-next view pygtk/receipt @ rev 7910
Added DESTDIR=PWD/_pkg to acl. Needed for it to make packages.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 09 12:07:10 2011 +0000 (2011-01-09) |
parents | d0fa681cee8d |
children | 8dd4d8f85434 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtk"
4 VERSION="2.22.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 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev \
13 xorg-dev-proto"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.pygtk.org/"
16 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/${VERSION%.*}/$TARBALL"
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 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --disable-docs \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make -j 4 &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
39 }