wok-current rev 1822
Add py3k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 06 22:25:09 2008 +0100 (2008-12-06) |
parents | 2506dcd48342 |
children | 6b4c613de1c1 |
files | py3k-dev/receipt py3k/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/py3k-dev/receipt Sat Dec 06 22:25:09 2008 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="py3k-dev" 1.7 +VERSION="3.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Python programming language devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="py3k" 1.12 +SOURCE="Python" 1.13 +WEB_SITE="http://www.python.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/bin 1.19 + cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/include $fs/usr 1.20 + cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/bin/*-config $fs/usr/bin 1.21 + chmod 755 $fs/usr/bin/*-config 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/py3k/receipt Sat Dec 06 22:25:09 2008 +0100 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="py3k" 2.7 +VERSION="3.0" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="The Python 3000 programming language." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +SOURCE="Python" 2.12 +DEPENDS="openssl ncurses" 2.13 +BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev" 2.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.15 +WEB_SITE="http://www.python.org/download/releases/3.0/" 2.16 +WGET_URL="http://www.python.org/ftp/python/$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 --enable-shared --with-ncurses \ 2.23 + --prefix=/usr --infodir=/usr/share/info \ 2.24 + --mandir=/usr/share/man $CONFIGURE_ARGS && 2.25 + make && 2.26 + make DESTDIR=$PWD/_pkg install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr 2.33 + cp -a $_pkg/usr/bin $fs/usr 2.34 + cp -a $_pkg/usr/lib $fs/usr 2.35 + rm -f $fs/usr/bin/*-config 2.36 +} 2.37 +