Files
haikuports/dev-util/scons/scons-2.5.1.recipe
2017-06-20 07:18:22 +02:00

53 lines
1.6 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="3"
SOURCE_URI="http://sourceforge.net/projects/scons/files/scons/$portVersion/scons-$portVersion.tar.gz"
CHECKSUM_SHA256="0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2"
PATCHES="scons-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
scons = $portVersion compat >= 2
cmd:scons = $portVersion compat >= 2
cmd:scons_$portVersion = $portVersion compat >= 2
cmd:scons_configure_cache = $portVersion compat >= 2
cmd:scons_configure_cache_$portVersion = $portVersion compat >= 2
cmd:scons_time = $portVersion compat >= 2
cmd:scons_time_$portVersion = $portVersion compat >= 2
cmd:sconsign = $portVersion compat >= 2
cmd:sconsign_$portVersion = $portVersion compat >= 2
"
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
}