wok-current diff psyco/receipt @ rev 17919

Up tazinst-gui (51)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 12:55:24 2015 +0200 (2015-04-10)
parents 3b9b0922936a
children 16df76e1fc6a
line diff
     1.1 --- a/psyco/receipt	Mon Oct 11 17:24:20 2010 +0200
     1.2 +++ b/psyco/receipt	Fri Apr 10 12:55:24 2015 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Module which can massively speed up the execution of any Python code."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="python"
     1.8 -BUILD_DEPENDS="python-dev"
     1.9 +LICENSE="MIT"
    1.10  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.11  WEB_SITE="http://psyco.sourceforge.net/"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14 +DEPENDS="python"
    1.15 +BUILD_DEPENDS="python-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -19,12 +21,12 @@
    1.21      sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \
    1.22  	   -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \
    1.23  		c/Python/pycompiler.c c/mergepoints.c
    1.24 -    python setup.py install --root=$PWD/_pkg
    1.25 +    python setup.py install --root=$DESTDIR
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31      mkdir -p $fs/usr
    1.32 -    cp -a $_pkg/usr/lib $fs/usr
    1.33 +    cp -a $install/usr/lib $fs/usr
    1.34  }