wok annotate scons/receipt @ rev 10342
samba: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 03:01:05 2011 +0000 (2011-05-22) |
parents | 571365252927 |
children | c54f0b9830bb |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="scons" |
slaxemulator@6375 | 4 VERSION="2.0.1" |
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 |