Files
haikuports/dev-util/scons/scons-2.4.0.recipe
Jerome Duval 305f4e26b3 scons: bump version.
* depends explicitly on python 2.7.
2015-10-17 11:55:14 +00:00

51 lines
1.4 KiB
Bash

SUMMARY="A software construction tool"
DESCRIPTION="SCons is an open-source software construction tool - that is, a \
next-generation build tool. Think of SCons as an improved, cross-platform \
substitute for the classic Make utility with integrated functionality similar \
to autoconf/automake and compiler caches such as ccache. In short, SCons is \
an easier, more reliable and faster way to build software."
HOMEPAGE="http://www.scons.org/"
COPYRIGHT="2001-2012 The SCons Foundation"
LICENSE="MIT"
REVISION="4"
SOURCE_URI="http://sourceforge.net/projects/scons/files/scons/$portVersion/scons-$portVersion.tar.gz"
CHECKSUM_SHA256="1892f472934f1f5947d0e4c5d01e3b992641425553faab4062ddb8e3504c1fb2"
PATCHES="scons-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
scons = $portVersion compat >= 2.3
cmd:scons = $portVersion compat >= 2.3
cmd:scons_$portVersion = $portVersion compat >= 2.3
cmd:scons_time = $portVersion compat >= 2.3
cmd:scons_time_$portVersion = $portVersion compat >= 2.3
cmd:sconsign = $portVersion compat >= 2.3
cmd:sconsign_$portVersion = $portVersion compat >= 2.3
"
REQUIRES="
haiku
cmd:python2.7
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:python2.7
"
BUILD()
{
python2.7 setup.py build
}
INSTALL()
{
options="$options --prefix=$prefix"
options="$options --install-data=$documentationDir"
options="$options --symlink-scons"
options="$options --standard-lib"
python2.7 setup.py install $options
}