Files
haikuports/games-engines/scummvm-tools/scummvm_tools-1.9.0.recipe

73 lines
2.0 KiB
Bash

SUMMARY="Tools for ScummVM"
DESCRIPTION="This is a collection of various tools that may be useful to use \
in conjunction with ScummVM. Please note that although a tool may support a \
feature, certain ScummVM versions may not. ScummVM 0.6.x does not support \
FLAC audio, for example."
HOMEPAGE="https://www.scummvm.org/"
COPYRIGHT="2001-2013 ScummVM Team"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://www.scummvm.org/frs/scummvm-tools/$portVersion/scummvm-tools-$portVersion.tar.xz"
CHECKSUM_SHA256="b7ab2e03c5a0efb71bb0c84434aa481331739b2b8759361d467e076b8410f938"
SOURCE_DIR="scummvm-tools-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cmd:construct_mohawk = $portVersion
cmd:create_sjisfnt = $portVersion
cmd:decine = $portVersion
cmd:degob = $portVersion
cmd:dekyra = $portVersion
cmd:deriven = $portVersion
cmd:descumm = $portVersion
cmd:desword2 = $portVersion
cmd:extract_mohawk = $portVersion
cmd:gob_loadcalc = $portVersion
cmd:scummvm_tools_cli = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libflac$secondaryArchSuffix
lib:libmad$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libvorbis$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libflac$secondaryArchSuffix
devel:libmad$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
./configure --prefix=$prefix --datadir=$dataDir
make $jobArgs
}
INSTALL()
{
make install
#data files are not needed as long as we don't have a graphical interface for the tools
rm -r $dataDir/scummvm-tools
}