wok-6.x view python-cython/receipt @ rev 9338

Add python-cython
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 18:54:22 2011 +0100 (2011-03-18)
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 }