wok-4.x view scons/receipt @ rev 4840

tazpkg-web: add BuildDepends & FileOverlap
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 28 19:12:08 2010 +0100 (2010-01-28)
parents 8c8d1dfb63df
children 78361836c9a8
line source
1 # SliTaz package receipt.
3 PACKAGE="scons"
4 VERSION="1.2.0"
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 }