upgrade scons, libdvdnav, libdvdread, fftw.

This commit is contained in:
Jerome Duval
2014-04-23 17:12:06 +00:00
parent 05e5c8b172
commit cf9d970019
9 changed files with 285 additions and 95 deletions

View 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
}