wok-stable annotate scons/receipt @ rev 4047
Add bchunk
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 09 12:12:02 2009 +0200 (2009-09-09) |
parents | |
children | 571365252927 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="scons" |
pascal@1136 | 4 VERSION="0.98.5" |
pascal@1136 | 5 CATEGORY="development" |
pascal@1136 | 6 SHORT_DESC="SCons is an Open Source software construction tool." |
pascal@1136 | 7 MAINTAINER="chadi.elahmad@gmail.com" |
pascal@1136 | 8 |
pascal@1136 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1136 | 10 WEB_SITE="http://www.scons.org/" |
pascal@1136 | 11 WGET_URL="http://garr.dl.sourceforge.net/sourceforge/scons/$TARBALL" |
pascal@1136 | 12 |
pascal@1136 | 13 DEPENDS="python " |
pascal@1136 | 14 BUILD_DEPENDS="python python-dev " |
pascal@1136 | 15 |
pascal@1136 | 16 # Rules to configure and make the package. |
pascal@1136 | 17 compile_rules() |
pascal@1136 | 18 { |
pascal@1136 | 19 mkdir -p $src/_pkg/usr |
pascal@1136 | 20 cd $src |
pascal@1136 | 21 python setup.py install \ |
pascal@1136 | 22 --install-man \ |
pascal@1136 | 23 --standard-lib \ |
pascal@1136 | 24 --prefix=$src/_pkg/usr |
pascal@1136 | 25 } |
pascal@1136 | 26 |
pascal@1136 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 28 genpkg_rules() |
pascal@1136 | 29 { |
pascal@1136 | 30 mkdir -p $fs/usr/ |
pascal@1136 | 31 cp -a $_pkg/usr/* $fs/usr |
pascal@1136 | 32 } |
pascal@1136 | 33 |