wok annotate scons/receipt @ rev 15510
Up: thunderbird-langpack-en_GB (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 19 22:24:15 2013 +0100 (2013-11-19) |
parents | 78361836c9a8 |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="scons" |
slaxemulator@10973 | 4 VERSION="2.1.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 { |
slaxemulator@10973 | 17 mkdir -p $DESTDIR/usr |
pascal@1136 | 18 cd $src |
pascal@1136 | 19 python setup.py install \ |
pascal@1136 | 20 --standard-lib \ |
slaxemulator@10973 | 21 --prefix=$DESTDIR/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 |