wok-6.x view psyco/receipt @ rev 16900

libpng: sec. CVE-2011-3048 CVE-2012-3386 & MemLeak fixes,oth.. Up from 1.2.47 to 1.2.51
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Jul 15 02:56:01 2014 +0300 (2014-07-15)
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 }