wok-next view pyrex/receipt @ rev 8278

Up: bluez to 4.87.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 30 15:42:18 2011 +0000 (2011-01-30)
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 }