wok-next annotate scons2/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 cd7906120828
children d5aab818505e
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/scons.html"
al@20888 11 REPOLOGY="scons"
al@20738 12
al@20738 13 TARBALL="scons-$VERSION.tar.gz"
al@20738 14 WGET_URL="$SF_MIRROR/scons/$TARBALL"
al@20738 15
al@20738 16 BUILD_DEPENDS="python-dev"
al@20738 17
al@20738 18 compile_rules() {
al@20738 19 python setup.py install \
al@20738 20 --prefix=/usr \
al@20738 21 --standard-lib \
al@20738 22 --optimize=1 \
al@20738 23 --install-data=/usr/share \
al@20738 24 --root=$install || return 1
al@20738 25
al@20738 26 find $install -perm 775 -exec chmod 755 '{}' \;
al@20738 27 }
al@20738 28
al@20738 29 genpkg_rules() {
al@20738 30 copy @std
al@20738 31 DEPENDS="python"
al@20738 32 }