wok view pygtk/receipt @ rev 1602

Add perl-net-telnet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:13:50 2008 +0000 (2008-10-19)
parents 970a1182e8d1
children 8db96c574f30
line source
1 # SliTaz package receipt.
3 PACKAGE="pygtk"
4 VERSION="2.12.1"
5 CATEGORY="development"
6 SHORT_DESC="GTK+ for Python"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pygtk.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --disable-docs \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/lib
30 cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin
31 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
32 }