0
0
Fork 0
haikuports/games-simulation/opencity/opencity-0.0.6.3.recipe

67 lines
2.2 KiB
Bash

SUMMARY="Free 3D city simulator"
DESCRIPTION="Once upon the time, I was travelling over the Internet, and I \
found a city simulator under linux called FreeReign at SourceForge. But it \
isn't maintained any more. I decided to push the game up so I had a look at \
the FreeReign sources. However, its codes were not obvious to me, and in \
addition the game design didn't fit my programming style. Finally, I decided \
to write my own free 3D city simulator, based on the original ideas of the \
FreeReign project. Few months later, OpenCity was born.
OpenCity is a full 3D city simulator game project. It is written in standard \
C++ with OpenGL and SDL from scratch. It is not intended to be a clone of any \
famous city simulator from Max*s. So, if you are looking to download a free \
SimCity 4 like, please forget OpenCity. I work on it at my spare time, and I \
really meant it \"my spare time\" !
OpenCity is also an OpenGL/SDL/C++ game programming tutorial. In the \
resources section, you can find the micro simulators' algorithm, design \
document, UML diagram and information about other issues. The UML diagram is \
edited with Umbrello, the free UML diagram editor for KDE."
HOMEPAGE="http://www.opencity.info/"
COPYRIGHT="2003-2008 Duong Khang NGUYEN
2003-2008 Frederic RODRIGO
2006-2007 Brodie THIESFIELD
2006 Angelo 'Encelo' THEODOROU
2002-2004 Yves BERQUIN
1999 Jeff MOLOFEE"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/opencity/files/Stable/0.0.6/opencity-0.0.6.3stable.tar.bz2"
CHECKSUM_SHA256="23e31e44644c01f0a7d836a71fd03fa63ffbfd4bc983b4578e7836b345cfad03"
SOURCE_DIR="opencity-0.0.6.3stable"
ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
opencity$secondaryArchSuffix = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgl$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libsdl_net_1.2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:sdl_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}