# HG changeset patch # User Aleksej Bobylev # Date 1527617631 -10800 # Node ID 2cfb8a5449377d985ac31dc08b2ad8cde5eb43c7 # Parent 7a27d976b7a5bd3e209dcb901bf74b542980e4f2 Up scons (3.0.1); add scons2 (2.5.1) diff -r 7a27d976b7a5 -r 2cfb8a544937 scons/receipt --- a/scons/receipt Tue May 29 20:37:22 2018 +0300 +++ b/scons/receipt Tue May 29 21:13:51 2018 +0300 @@ -1,12 +1,12 @@ # SliTaz package receipt v2. PACKAGE="scons" -VERSION="3.0.0" +VERSION="3.0.1" CATEGORY="development" SHORT_DESC="SCons is an Open Source software construction tool" MAINTAINER="chadi.elahmad@gmail.com" LICENSE="MIT" -WEB_SITE="http://www.scons.org/" +WEB_SITE="https://scons.org/" LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/scons.html" TARBALL="$PACKAGE-$VERSION.tar.gz" diff -r 7a27d976b7a5 -r 2cfb8a544937 scons2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scons2/receipt Tue May 29 21:13:51 2018 +0300 @@ -0,0 +1,31 @@ +# SliTaz package receipt v2. + +PACKAGE="scons2" +VERSION="2.5.1" +CATEGORY="development" +SHORT_DESC="SCons (2.x) is an Open Source software construction tool" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://scons.org/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/scons.html" + +TARBALL="scons-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/scons/$TARBALL" + +BUILD_DEPENDS="python-dev" + +compile_rules() { + python setup.py install \ + --prefix=/usr \ + --standard-lib \ + --optimize=1 \ + --install-data=/usr/share \ + --root=$install || return 1 + + find $install -perm 775 -exec chmod 755 '{}' \; +} + +genpkg_rules() { + copy @std + DEPENDS="python" +}