wok-current annotate scons/receipt @ rev 4187
Fix: scons FSH and update to 1.2.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 23 09:48:52 2009 +0200 (2009-09-23) |
parents | 8c8d1dfb63df |
children | 78361836c9a8 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="scons" |
pankso@4187 | 4 VERSION="1.2.0" |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1136 | 9 WEB_SITE="http://www.scons.org/" |
pankso@4187 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1136 | 11 DEPENDS="python " |
pascal@1136 | 12 BUILD_DEPENDS="python python-dev " |
pascal@1136 | 13 |
pascal@1136 | 14 # Rules to configure and make the package. |
pascal@1136 | 15 compile_rules() |
pascal@1136 | 16 { |
pascal@1136 | 17 mkdir -p $src/_pkg/usr |
pascal@1136 | 18 cd $src |
pascal@1136 | 19 python setup.py install \ |
pascal@1136 | 20 --standard-lib \ |
pascal@1136 | 21 --prefix=$src/_pkg/usr |
pascal@1136 | 22 } |
pascal@1136 | 23 |
pascal@1136 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 25 genpkg_rules() |
pascal@1136 | 26 { |
pankso@4187 | 27 mkdir -p $fs/usr |
pankso@4187 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@4187 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@1136 | 30 } |
pascal@1136 | 31 |