62 lines
1.6 KiB
Bash
62 lines
1.6 KiB
Bash
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"
|
|
GitRevision="a7b09e3b7af67d14a1602fa4ca809e94172d0db3"
|
|
SOURCE_URI="https://github.com/aburch/simutrans/archive/$GitRevision.tar.gz"
|
|
CHECKSUM_SHA256="4e1f418fe6efbd85af34176b5c75158943d2248c06366e566a2c91a94e4ace79"
|
|
SOURCE_FILENAME="makeobj-$portVersion.tar.gz"
|
|
SOURCE_DIR="simutrans-$GitRevision"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
makeobj$secondaryArchSuffix = $portVersion
|
|
cmd:makeobj$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libSDL_1.2$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:sdl_config$secondaryArchSuffix >= 1.2
|
|
cmd:strip$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf configure.ac
|
|
runConfigure ./configure
|
|
make makeobj $jobArgs
|
|
strip makeobj/makeobj
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
cp -r makeobj/makeobj $binDir/
|
|
}
|