wok diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pygtk/receipt	Sat Aug 09 14:25:01 2008 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pygtk"
     1.7 +VERSION="2.12.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GTK+ for Python"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="python"
    1.12 +BUILD_DEPENDS="pygobject-dev pycairo-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.pygtk.org/"
    1.15 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr \
    1.22 +	 --infodir=/usr/share/info \
    1.23 +	 --disable-docs \
    1.24 +	 --mandir=/usr/share/man $CONFIGURE_ARGS
    1.25 +	make
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/bin $fs/usr/lib 
    1.33 +	cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin
    1.34 +	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    1.35 +}
    1.36 +