mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
scons: add recipe for version 2.5.1
This commit is contained in:
51
dev-util/scons/scons-2.5.1.recipe
Normal file
51
dev-util/scons/scons-2.5.1.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
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="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/scons/files/scons/$portVersion/scons-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user