wok diff pygtk/receipt @ rev 1175

Add Python bindings for cairo, GTK, GObject.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Aug 02 14:05:35 2008 +0200 (2008-08-02)
parents
children 9d977ed81a8c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pygtk/receipt	Sat Aug 02 14:05:35 2008 +0200
     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 +