wok view pygtk/receipt @ rev 2371

Add mmx-emu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 16:29:09 2009 +0000 (2009-03-06)
parents 8db96c574f30
children 93b397dc8274
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 chmod +x $fs/usr/bin/*
32 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
33 }