mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
SUMMARY="Open Source 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/"
|
|
LICENSE="MIT"
|
|
COPYRIGHT="2001-2012 The SCons Foundation"
|
|
SRC_URI="http://sourceforge.net/projects/scons/files/scons/2.2.0/scons-2.2.0.tar.gz"
|
|
CHECKSUM_SHA256="f7fcd11a7af7ec13d587a2f7cf14a92e3223eea64bf078454a9856ec0ab465b9"
|
|
REVISION="4"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PATCHES="scons-2.2.0.patchset"
|
|
|
|
PROVIDES="
|
|
scons = $portVersion compat >= 2.2
|
|
cmd:scons = $portVersion compat >= 2.2
|
|
cmd:scons_2.2.0 = $portVersion compat >= 2.2
|
|
cmd:scons_time = $portVersion compat >= 2.2
|
|
cmd:scons_time_2.2.0 = $portVersion compat >= 2.2
|
|
cmd:sconsign = $portVersion compat >= 2.2
|
|
cmd:sconsign_2.2.0 = $portVersion compat >= 2.2
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:python
|
|
"
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:python
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
for f in "script/scons script/scons-time script/sconsign"; do
|
|
sed -i -e "s@#! /usr/bin/env python@#! /bin/env python@" $f
|
|
done
|
|
python setup.py build
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
options="$options --prefix=$prefix"
|
|
options="$options --install-data=$documentationDir"
|
|
options="$options --symlink-scons"
|
|
options="$options --standard-lib"
|
|
python setup.py install $options
|
|
}
|