wok-next annotate pyrex/receipt @ rev 8060

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