wok-next view scons2/receipt @ rev 20821

perl-task-weaken: update $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 00:03:13 2018 +0300 (2018-06-14)
parents
children cd7906120828
line source
1 # SliTaz package receipt v2.
3 PACKAGE="scons2"
4 VERSION="2.5.1"
5 CATEGORY="development"
6 SHORT_DESC="SCons (2.x) is an Open Source software construction tool"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://scons.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/scons.html"
12 TARBALL="scons-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/scons/$TARBALL"
15 BUILD_DEPENDS="python-dev"
17 compile_rules() {
18 python setup.py install \
19 --prefix=/usr \
20 --standard-lib \
21 --optimize=1 \
22 --install-data=/usr/share \
23 --root=$install || return 1
25 find $install -perm 775 -exec chmod 755 '{}' \;
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="python"
31 }