wok annotate scons/receipt @ rev 18023
Up: cookutils, cookutils-daemon (726).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 03 17:45:26 2015 +0300 (2015-05-03) |
parents | 3b4e4318134e |
children | 7390f8de9846 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="scons" |
devl547@17614 | 4 VERSION="2.3.4" |
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@15593 | 8 LICENSE="MIT" |
pascal@1136 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1136 | 10 WEB_SITE="http://www.scons.org/" |
pankso@4187 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15593 | 12 |
pascal@15593 | 13 DEPENDS="python" |
pascal@15593 | 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 { |
slaxemulator@10973 | 19 mkdir -p $DESTDIR/usr |
pascal@1136 | 20 cd $src |
pascal@1136 | 21 python setup.py install \ |
pascal@1136 | 22 --standard-lib \ |
slaxemulator@10973 | 23 --prefix=$DESTDIR/usr |
pascal@1136 | 24 } |
pascal@1136 | 25 |
pascal@1136 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 27 genpkg_rules() |
pascal@1136 | 28 { |
pankso@4187 | 29 mkdir -p $fs/usr |
pascal@15593 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15593 | 31 cp -a $install/usr/lib $fs/usr |
pascal@1136 | 32 } |
pascal@1136 | 33 |