wok-next annotate scons/receipt @ rev 21119
libarchive: depends on libzstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 03:39:08 2019 +0200 (2019-01-14) |
parents | f48456621a9d |
children |
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@21020 | 6 SHORT_DESC="Open Source software construction tool" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
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() { |
al@21020 | 18 python -B setup.py install \ |
al@20647 | 19 --prefix=/usr \ |
pascal@1136 | 20 --standard-lib \ |
al@20647 | 21 --install-data=/usr/share \ |
al@20647 | 22 --root=$install || return 1 |
al@20647 | 23 |
al@20647 | 24 find $install -perm 775 -exec chmod 755 '{}' \; |
pascal@1136 | 25 } |
pascal@1136 | 26 |
al@20443 | 27 genpkg_rules() { |
al@20443 | 28 copy @std |
al@20443 | 29 DEPENDS="python" |
pascal@1136 | 30 } |