mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
* These provide a python module, so they need to be rebuilt in order to get those modules moved into the vendor-packages directory.
48 lines
1.5 KiB
Plaintext
48 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://superb-dca3.dl.sourceforge.net/project/scons/scons/2.2.0/scons-2.2.0.tar.gz"
|
|
CHECKSUM_MD5="f737f474a02d08156c821bd2d4d4b632"
|
|
REVISION="2"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PATCHES="scons-2.2.0.patchset"
|
|
|
|
PROVIDES="
|
|
scons = $portVersion compat >= 2
|
|
cmd:scons = $portVersion compat >= 2
|
|
cmd:scons_2.2.0 = $portVersion compat >= 2
|
|
cmd:scons_time = $portVersion compat >= 2
|
|
cmd:scons_time_2.2.0 = $portVersion compat >= 2
|
|
cmd:sconsign = $portVersion compat >= 2
|
|
cmd:sconsign_2.2.0 = $portVersion compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
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
|
|
}
|