# HG changeset patch # User Christophe Lincoln # Date 1243207517 -7200 # Node ID 15950b83bce6ec6824f8f20f839590506b5291c6 # Parent a57b930c270b926f5f89c5f99479106810722bc8 Add psyco (Speed up Python code) diff -r a57b930c270b -r 15950b83bce6 psyco/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/psyco/receipt Mon May 25 01:25:17 2009 +0200 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="psyco" +VERSION="1.6" +CATEGORY="system-tools" +SHORT_DESC="Module which can massively speed up the execution of any Python code." +MAINTAINER="pankso@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python-dev" +TARBALL="$PACKAGE-$VERSION-src.tar.gz" +WEB_SITE="http://psyco.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +}