# HG changeset patch # User Christophe Lincoln # Date 1275239483 -7200 # Node ID 91348dd08be238796845ed337154d46b354db1c0 # Parent 133b337007856738e6283c23af902b49b4bfa041 Add wxpython (GUI toolkit for Python) diff -r 133b33700785 -r 91348dd08be2 wxpython-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wxpython-dev/receipt Sun May 30 19:11:23 2010 +0200 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="wxpython-dev" +VERSION="2.8.11.0" +CATEGORY="x-window" +SHORT_DESC="wxPython devel files." +MAINTAINER="pankso@slitaz.org" +DEPENDS="wxpython" +SOURCE="wxPython-src" +WANTED="wxpython" +WEB_SITE="http://www.wxpython.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg + mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin/wx-config $fs/usr/bin + cp -a $_pkg/usr/lib/wx $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/share/aclocal $fs/usr/share + cp -a $_pkg/usr/share/bakefile $fs/usr/share +} diff -r 133b33700785 -r 91348dd08be2 wxpython/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wxpython/receipt Sun May 30 19:11:23 2010 +0200 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="wxpython" +VERSION="2.8.11.0" +CATEGORY="x-window" +SHORT_DESC="GUI toolkit for the Python programming language." +MAINTAINER="pankso@slitaz.org" +DEPENDS="python gtk+" +BUILD_DEPENDS="python-dev gtk+-dev" +SOURCE="wxPython-src" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.wxpython.org/" +WGET_URL="$SF_MIRROR/$PACKAGE/wxPython/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --without-sdl \ + $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/wxrc* $fs/usr/bin + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +}