wok view pyrex/receipt @ rev 8389
Up; tazpkg 4.2.5
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Feb 04 19:46:14 2011 +0100 (2011-02-04) |
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 }