wok view pyrex/receipt @ rev 7854

ruby: package with shared library, develop required.
author Liu Peng <rocky@slitaz.org>
date Wed Dec 29 08:15:41 2010 +0000 (2010-12-29)
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 }