# HG changeset patch # User Pascal Bellard # Date 1228598709 -3600 # Node ID 2fa039deb90fdfce2148e62e5fac14fbfe11d286 # Parent 2506dcd483428fb99909f77a09f3a398ea378e4e Add py3k diff -r 2506dcd48342 -r 2fa039deb90f py3k-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k-dev/receipt Sat Dec 06 22:25:09 2008 +0100 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="py3k-dev" +VERSION="3.0" +CATEGORY="development" +SHORT_DESC="The Python programming language devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="py3k" +SOURCE="Python" +WEB_SITE="http://www.python.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/include $fs/usr + cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/bin/*-config $fs/usr/bin + chmod 755 $fs/usr/bin/*-config +} + diff -r 2506dcd48342 -r 2fa039deb90f py3k/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k/receipt Sat Dec 06 22:25:09 2008 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="py3k" +VERSION="3.0" +CATEGORY="development" +SHORT_DESC="The Python 3000 programming language." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="Python" +DEPENDS="openssl ncurses" +BUILD_DEPENDS="readline-dev openssl openssl-dev ncurses ncurses-dev" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.python.org/download/releases/3.0/" +WGET_URL="http://www.python.org/ftp/python/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --enable-shared --with-ncurses \ + --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 + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + rm -f $fs/usr/bin/*-config +} +