wok-next annotate scons/receipt @ rev 20846
mingw32-gcc: fix CFLAGS, CXXFLAGS as it is not recent GCC and it don't understand something
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 13:59:48 2018 +0300 (2018-06-23) |
parents | 1ff723a6455b |
children | f48456621a9d |
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@20647 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 } |