mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
91 lines
2.4 KiB
Bash
91 lines
2.4 KiB
Bash
SUMMARY="2D motocross platform game"
|
|
DESCRIPTION="X-Moto is a challenging 2D motocross platform game, where \
|
|
physics play an all important role in the gameplay. You need to control \
|
|
your bike to its limit, if you want to have a chance finishing the more \
|
|
difficult of the challenges."
|
|
HOMEPAGE="http://xmoto.tuxfamily.org"
|
|
COPYRIGHT="2006-2014 Nicolas Adenis-Lamarre
|
|
2007-2011 Emmanuel Gorse
|
|
2009-2010 Jens Erler
|
|
2005-2006 Rasmus Neckelmann"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://download.tuxfamily.org/xmoto/xmoto/0.5.11/xmoto-0.5.11-src.tar.gz"
|
|
CHECKSUM_SHA256="a584a6f9292b184686b72c78f16de4b82d5c5b72ad89e41912ff50d03eca26b2"
|
|
PATCHES="xmoto_x86-0.5.11.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
xmoto$secondaryArchSuffix = $portVersion
|
|
cmd:xmoto$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:liblua$secondaryArchSuffix
|
|
lib:libode$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libsdl_ttf$secondaryArchSuffix
|
|
lib:libsdl_net$secondaryArchSuffix
|
|
lib:libsdl_mixer$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
mesa_swrast
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libode$secondaryArchSuffix
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
devel:libglu$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:liblua$secondaryArchSuffix
|
|
devel:liblua
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libsdl$secondaryArchSuffix
|
|
devel:libsdl_mixer$secondaryArchSuffix
|
|
devel:libsdl_net$secondaryArchSuffix
|
|
devel:libsdl_ttf$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gettext$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:make
|
|
cmd:ode_config$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoconf
|
|
export CFLAGS="-lGL"
|
|
export CXXFLAGS="-lGL"
|
|
runConfigure ./configure --with-internal-xdg=1
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|