mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
simutrans: several updates and bugfixes (incl. for paksets and makeobj) (#3537)
simutrans: fix compiling under Haiku, update to 120.3 (sdl) / 120.4.1 (sdl2) pak64: update to 120.3 / 120.4.1 pak128: update to 2.8.1 makeobj: update to 60.1 (sdl) / 60.2 (sdl2)
This commit is contained in:
61
games-util/makeobj/makeobj-60.2~nightly.recipe
Normal file
61
games-util/makeobj/makeobj-60.2~nightly.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="Tool for creating Simutrans paksets"
|
||||
DESCRIPTION="Makeobj is a tool for graphics/pakset developers \
|
||||
and is not needed for playing the game.
|
||||
Makeobj joins both the image and the data files in a single \
|
||||
compressed pak-file that will then be read by the game engine."
|
||||
HOMEPAGE="http://www.simutrans.com"
|
||||
COPYRIGHT="1997-2004 Hj. Malthaner
|
||||
2005-2018 The Simutrans Team"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="svn://servers.simutrans.org/simutrans/trunk"
|
||||
SOURCE_FILENAME="makeobj-$portVersion"
|
||||
SOURCE_DIR=""
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
makeobj$secondaryArchSuffix = $portVersion
|
||||
cmd:makeobj$secondaryArchSuffix = 60.2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sdl2_config$secondaryArchSuffix
|
||||
cmd:strip$secondaryArchSuffix
|
||||
cmd:svn
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf configure.ac
|
||||
runConfigure ./configure
|
||||
make makeobj $jobArgs
|
||||
strip makeobj/makeobj
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -r makeobj/makeobj $binDir/
|
||||
}
|
||||
Reference in New Issue
Block a user