wok-next view python-pyrex/receipt @ rev 7793

Add crosstool-ng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 24 10:16:04 2010 +0100 (2010-12-24)
parents 67b596b71bfd
children c57c251fb82b
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyrex"
4 VERSION="0.9.9"
5 CATEGORY="development"
6 SHORT_DESC="Language for Writing Python Extension Modules."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="Pyrex"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"
11 WGET_URL="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
14 TAGS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 find $fs -name "*.pyc" -delete
28 }