wok-next view psyco/receipt @ rev 16030

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