wok view pyrex/receipt @ rev 8209
imported patch toolchain/perl.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyrex"
4 VERSION="0.9.9"
5 CATEGORY="development"
6 SHORT_DESC="Language for writing Python extension modules"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="python"
9 BUILD_DEPENDS="python-dev"
10 SOURCE="Pyrex"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/"
13 WGET_URL="${WEB_SITE}${TARBALL}"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root="$PWD/_pkg" --prefix=/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }