wok view scons/receipt @ rev 18086

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents e72ddaac0efb
children a8e75e9bae6c
line source
1 # SliTaz package receipt.
3 PACKAGE="scons"
4 VERSION="2.3.4"
5 CATEGORY="development"
6 SHORT_DESC="SCons is an Open Source software construction tool."
7 MAINTAINER="chadi.elahmad@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.scons.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $DESTDIR/usr
20 python setup.py install \
21 --standard-lib \
22 --prefix=$DESTDIR/usr
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }