wok-stable view scons/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents 78361836c9a8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="scons"
4 VERSION="2.1.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 $DESTDIR/usr
18 cd $src
19 python setup.py install \
20 --standard-lib \
21 --prefix=$DESTDIR/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 }