wok view pygtk/receipt @ rev 1210

Add cyrus-imapd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 09 14:25:01 2008 +0000 (2008-08-09)
parents
children 9d977ed81a8c
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"
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 }