wok view pygtk/receipt @ rev 1699

Add: get-eclipse-pdt, get and install eclipse PDT
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Nov 13 00:04:59 2008 +0100 (2008-11-13)
parents 9d977ed81a8c
children 5c120309434e
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 pycairo pygobject"
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 }