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