wok 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 2499cc726561
children 7cb0c089e287
files pycairo-dev/receipt pycairo/receipt pygobject-dev/receipt pygobject/receipt pygtk-dev/process.log pygtk-dev/receipt pygtk/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pycairo-dev/receipt	Sat Aug 02 14:05:35 2008 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pycairo-dev"
     1.7 +VERSION="1.4.12"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Python bindings for the cairo graphics library."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="pycairo"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.cairographics.org/pycairo/"
    1.14 +WANTED="pycairo"
    1.15 +
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +}
    1.24 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pycairo/receipt	Sat Aug 02 14:05:35 2008 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="pycairo"
     2.7 +VERSION="1.4.12"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Python bindings for the cairo graphics library."
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +DEPENDS=""
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.cairographics.org/pycairo/"
    2.14 +WGET_URL="http://www.cairographics.org/releases/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.22 +	make
    2.23 +	make DESTDIR=$PWD/_pkg install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib
    2.30 +	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    2.31 +}
    2.32 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pygobject-dev/receipt	Sat Aug 02 14:05:35 2008 +0200
     3.3 @@ -0,0 +1,22 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="pygobject-dev"
     3.7 +VERSION="2.14.1"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Python bindings for the GObject library dev files."
    3.10 +MAINTAINER="erjo@slitaz.org"
    3.11 +DEPENDS="pygobject"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.13 +WEB_SITE=""
    3.14 +WANTED="pygobject"
    3.15 +
    3.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 +genpkg_rules()
    3.18 +{
    3.19 +	mkdir -p $fs/usr/lib $fs/usr/share
    3.20 +	cp -a $_pkg/usr/include $fs/usr
    3.21 +	cp -a $_pkg/usr/share/pygobject $fs/usr/share
    3.22 +	cp -a $_pkg/usr/share/gtk-doc $fs/usr/share
    3.23 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    3.24 +}
    3.25 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pygobject/receipt	Sat Aug 02 14:05:35 2008 +0200
     4.3 @@ -0,0 +1,29 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="pygobject"
     4.7 +VERSION="2.14.1"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Python bindings for the GObject library"
    4.10 +MAINTAINER="erjo@slitaz.org"
    4.11 +DEPENDS=""
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.13 +WEB_SITE=""
    4.14 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.14/$TARBALL"
    4.15 +
    4.16 +# Rules to configure and make the package.
    4.17 +compile_rules()
    4.18 +{
    4.19 +	cd $src
    4.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    4.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    4.22 +	make
    4.23 +	make DESTDIR=$PWD/_pkg install
    4.24 +}
    4.25 +
    4.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.27 +genpkg_rules()
    4.28 +{
    4.29 +	mkdir -p $fs/usr/lib
    4.30 +	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    4.31 +}
    4.32 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/pygtk-dev/process.log	Sat Aug 02 14:05:35 2008 +0200
     5.3 @@ -0,0 +1,10 @@
     5.4 +date 20080412 12:02:41
     5.5 +package pygtk (compile)
     5.6 +no compile_rules
     5.7 +executing genpkg_rules
     5.8 +pygtk-2.12.1.tazpkg (done)
     5.9 +date 20080802 13:23:43
    5.10 +package pygtk (compile)
    5.11 +no compile_rules
    5.12 +executing genpkg_rules
    5.13 +pygtk-2.12.1.tazpkg (done)
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/pygtk-dev/receipt	Sat Aug 02 14:05:35 2008 +0200
     6.3 @@ -0,0 +1,24 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="pygtk"
     6.7 +VERSION="2.12.1"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="GTK+ for Python dev files"
    6.10 +MAINTAINER="erjo@slitaz.org"
    6.11 +DEPENDS="pygtk"
    6.12 +BUILD_DEPENDS="pygobject-dev pycairo-dev"
    6.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.14 +WEB_SITE="http://www.pygtk.org/"
    6.15 +WANTED="pygtk"
    6.16 +
    6.17 +
    6.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.19 +genpkg_rules()
    6.20 +{
    6.21 +	mkdir -p $fs/usr/bin $fs/usr/lib 
    6.22 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    6.23 +	cp -a $_pkg/usr/lib/pygtk $fs/usr/lib
    6.24 +	cp -a $_pkg/usr/include $fs/usr
    6.25 +	cp -a $_pkg/usr/bin/pygtk-demo* $fs/usr/bin
    6.26 +}
    6.27 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/pygtk/receipt	Sat Aug 02 14:05:35 2008 +0200
     7.3 @@ -0,0 +1,33 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="pygtk"
     7.7 +VERSION="2.12.1"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="GTK+ for Python"
    7.10 +MAINTAINER="erjo@slitaz.org"
    7.11 +DEPENDS="python"
    7.12 +BUILD_DEPENDS="pygobject-dev pycairo-dev"
    7.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.14 +WEB_SITE="http://www.pygtk.org/"
    7.15 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL"
    7.16 +
    7.17 +# Rules to configure and make the package.
    7.18 +compile_rules()
    7.19 +{
    7.20 +	cd $src
    7.21 +	./configure --prefix=/usr \
    7.22 +	 --infodir=/usr/share/info \
    7.23 +	 --disable-docs \
    7.24 +	 --mandir=/usr/share/man $CONFIGURE_ARGS
    7.25 +	make
    7.26 +	make DESTDIR=$PWD/_pkg install
    7.27 +}
    7.28 +
    7.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.30 +genpkg_rules()
    7.31 +{
    7.32 +	mkdir -p $fs/usr/bin $fs/usr/lib 
    7.33 +	cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin
    7.34 +	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    7.35 +}
    7.36 +