wok view python-cython/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents
children 0303b344c702
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cython"
4 VERSION="0.14.1"
5 CATEGORY="development"
6 SHORT_DESC="Language to write C extensions for Python."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="Cython"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://cython.org/"
11 WGET_URL="http://cython.org/release/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$WOK/$PACKAGE/install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }