# HG changeset patch # User Eric Joseph-Alexandre # Date 1217678735 -7200 # Node ID 970a1182e8d19162ba9adb48fc7042b3385fa54d # Parent 2499cc726561416246f99aa6d77ace108916ee35 Add Python bindings for cairo, GTK, GObject. diff -r 2499cc726561 -r 970a1182e8d1 pycairo-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pycairo-dev/receipt Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="pycairo-dev" +VERSION="1.4.12" +CATEGORY="development" +SHORT_DESC="Python bindings for the cairo graphics library." +MAINTAINER="erjo@slitaz.org" +DEPENDS="pycairo" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.cairographics.org/pycairo/" +WANTED="pycairo" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} + diff -r 2499cc726561 -r 970a1182e8d1 pycairo/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pycairo/receipt Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="pycairo" +VERSION="1.4.12" +CATEGORY="development" +SHORT_DESC="Python bindings for the cairo graphics library." +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.cairographics.org/pycairo/" +WGET_URL="http://www.cairographics.org/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib +} + diff -r 2499cc726561 -r 970a1182e8d1 pygobject-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygobject-dev/receipt Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="pygobject-dev" +VERSION="2.14.1" +CATEGORY="development" +SHORT_DESC="Python bindings for the GObject library dev files." +MAINTAINER="erjo@slitaz.org" +DEPENDS="pygobject" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="" +WANTED="pygobject" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/share/pygobject $fs/usr/share + cp -a $_pkg/usr/share/gtk-doc $fs/usr/share + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 2499cc726561 -r 970a1182e8d1 pygobject/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygobject/receipt Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="pygobject" +VERSION="2.14.1" +CATEGORY="development" +SHORT_DESC="Python bindings for the GObject library" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="" +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.14/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib +} + diff -r 2499cc726561 -r 970a1182e8d1 pygtk-dev/process.log --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygtk-dev/process.log Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,10 @@ +date 20080412 12:02:41 +package pygtk (compile) +no compile_rules +executing genpkg_rules +pygtk-2.12.1.tazpkg (done) +date 20080802 13:23:43 +package pygtk (compile) +no compile_rules +executing genpkg_rules +pygtk-2.12.1.tazpkg (done) diff -r 2499cc726561 -r 970a1182e8d1 pygtk-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygtk-dev/receipt Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="pygtk" +VERSION="2.12.1" +CATEGORY="development" +SHORT_DESC="GTK+ for Python dev files" +MAINTAINER="erjo@slitaz.org" +DEPENDS="pygtk" +BUILD_DEPENDS="pygobject-dev pycairo-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.pygtk.org/" +WANTED="pygtk" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/pygtk $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/bin/pygtk-demo* $fs/usr/bin +} + diff -r 2499cc726561 -r 970a1182e8d1 pygtk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygtk/receipt Sat Aug 02 14:05:35 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="pygtk" +VERSION="2.12.1" +CATEGORY="development" +SHORT_DESC="GTK+ for Python" +MAINTAINER="erjo@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="pygobject-dev pycairo-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.pygtk.org/" +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --disable-docs \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/lib + cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin + cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib +} +