Schismtracker: fix recipe.

Fixes http://ports.haiku-files.org/ticket/370.
This commit is contained in:
Adrien Destugues
2015-04-20 21:05:02 +02:00
parent cff6e8d183
commit aaee64773f
3 changed files with 92 additions and 31 deletions

View File

@@ -0,0 +1,67 @@
SUMMARY="Free reimplementation of Impulse Tracker"
DESCRIPTION="Schism Tracker is a free reimplementation of Impulse Tracker, a \
program used to create high quality music without the requirements of \
specialized, expensive equipment, and with a unique \"finger feel\" that is \
difficult to replicate in part. The player is based on a highly modified \
version of the Modplug engine, with a number of bugfixes and changes to \
improve IT playback.
Where Impulse Tracker was limited to i386-based systems running MS-DOS, Schism \
Tracker runs on almost any platform that SDL supports, and has been \
successfully built for Linux, Mac OS X, Windows, FreeBSD, AmigaOS, BeOS, and \
even the Wii. Most development is currently done on 64-bit Linux. Schism will \
most likely build on any architecture supported by GCC4 (e.g. alpha, m68k, \
arm, etc.) but it will probably not be as well-optimized on many systems."
HOMEPAGE="http://schismtracker.org/wiki/Schism%20Tracker"
SRC_URI="http://schismtracker.org/dl/schismtracker-20120105.tar.bz2"
PATCHES="schismtracker-$portVersion.patchset"
REVISION="1"
ARCHITECTURES=""
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
schismtracker$secondaryArchSuffix = $portVersion
cmd:schismtracker$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:awk
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:python
"
BUILD()
{
aclocal
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2012 Storlek
2005-2009 Mrs. Brisby"