wok view scons/receipt @ rev 9054

amule: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:38:47 2011 +0100 (2011-03-04)
parents 571365252927
children c54f0b9830bb
line source
1 # SliTaz package receipt.
3 PACKAGE="scons"
4 VERSION="2.0.1"
5 CATEGORY="development"
6 SHORT_DESC="SCons is an Open Source software construction tool."
7 MAINTAINER="chadi.elahmad@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.scons.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="python "
12 BUILD_DEPENDS="python python-dev "
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $src/_pkg/usr
18 cd $src
19 python setup.py install \
20 --standard-lib \
21 --prefix=$src/_pkg/usr
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }