wok rev 5672
Add wxpython (GUI toolkit for Python)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:11:23 2010 +0200 (2010-05-30) |
parents | 133b33700785 |
children | a86c9d5d978f |
files | wxpython-dev/receipt wxpython/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wxpython-dev/receipt Sun May 30 19:11:23 2010 +0200 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wxpython-dev" 1.7 +VERSION="2.8.11.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="wxPython devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="wxpython" 1.12 +SOURCE="wxPython-src" 1.13 +WANTED="wxpython" 1.14 +WEB_SITE="http://www.wxpython.org/" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 1.20 + mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share 1.21 + cp -a $_pkg/usr/bin/wx-config $fs/usr/bin 1.22 + cp -a $_pkg/usr/lib/wx $fs/usr/lib 1.23 + cp -a $_pkg/usr/include $fs/usr 1.24 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.25 + cp -a $_pkg/usr/share/bakefile $fs/usr/share 1.26 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/wxpython/receipt Sun May 30 19:11:23 2010 +0200 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="wxpython" 2.7 +VERSION="2.8.11.0" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="GUI toolkit for the Python programming language." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="python gtk+" 2.12 +BUILD_DEPENDS="python-dev gtk+-dev" 2.13 +SOURCE="wxPython-src" 2.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.15 +WEB_SITE="http://www.wxpython.org/" 2.16 +WGET_URL="$SF_MIRROR/$PACKAGE/wxPython/$VERSION/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --mandir=/usr/share/man \ 2.25 + --without-sdl \ 2.26 + $CONFIGURE_ARGS && 2.27 + make && 2.28 + make DESTDIR=$PWD/_pkg install 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs/usr/bin $fs/usr/lib 2.35 + cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin 2.36 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.37 +}