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