mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
upgrade scons, libdvdnav, libdvdread, fftw.
This commit is contained in:
53
dev-util/scons/scons-2.3.1.recipe
Normal file
53
dev-util/scons/scons-2.3.1.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
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/$portVersion/scons-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="091ab468f8e6084c30f3ae9fd48828e3884021401cfef4b713d13161ba120201"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="scons-2.2.0.patchset"
|
||||
|
||||
PROVIDES="
|
||||
scons = $portVersion compat >= 2
|
||||
cmd:scons = $portVersion compat >= 2
|
||||
cmd:scons_$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 >= $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
|
||||
}
|
||||
Reference in New Issue
Block a user