wok-6.x view pygtk/receipt @ rev 5552

catalyst, eduke32, erlang, fxload: cache extra wget'd files in SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 13 22:04:49 2010 +0200 (2010-05-13)
parents d019d5389b1c
children 1185a6cb9260
line source
1 # SliTaz package receipt.
3 PACKED_SIZE="8.0k"
4 UNPACKED_SIZE="4.0k"
5 PACKAGE="pygtk"
6 VERSION="2.16.0"
7 CATEGORY="development"
8 SHORT_DESC="GTK+ for Python"
9 MAINTAINER="erjo@slitaz.org"
10 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \
11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
12 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
13 xorg-libXdamage libffi "
14 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.pygtk.org/"
17 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.16/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --prefix=/usr \
25 --infodir=/usr/share/info \
26 --disable-docs \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
37 }