wok-next annotate psyco/receipt @ rev 16203

ARM: add PAM support
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 31 00:43:52 2014 +0200 (2014-03-31)
parents 3b9b0922936a
children 16df76e1fc6a
rev   line source
pankso@3169 1 # SliTaz package receipt.
pankso@3169 2
pankso@3169 3 PACKAGE="psyco"
pankso@3169 4 VERSION="1.6"
pankso@3169 5 CATEGORY="system-tools"
pankso@3169 6 SHORT_DESC="Module which can massively speed up the execution of any Python code."
pankso@3169 7 MAINTAINER="pankso@slitaz.org"
pascal@15376 8 LICENSE="MIT"
pankso@3169 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pankso@3169 10 WEB_SITE="http://psyco.sourceforge.net/"
pankso@3169 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@3169 12
pascal@15376 13 DEPENDS="python"
pascal@15376 14 BUILD_DEPENDS="python-dev"
pascal@15376 15
pankso@3169 16 # Rules to configure and make the package.
pankso@3169 17 compile_rules()
pankso@3169 18 {
pankso@3169 19 cd $src
pascal@6659 20 # Fix opcodes for python 2.7
pascal@6659 21 sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \
pascal@6659 22 -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \
pascal@6659 23 c/Python/pycompiler.c c/mergepoints.c
pascal@15376 24 python setup.py install --root=$DESTDIR
pankso@3169 25 }
pankso@3169 26
pankso@3169 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3169 28 genpkg_rules()
pankso@3169 29 {
pankso@3169 30 mkdir -p $fs/usr
pascal@15376 31 cp -a $install/usr/lib $fs/usr
pankso@3169 32 }