Files
haikuports/games-sports/xut/xut-0.2.1.recipe
2016-02-28 20:17:42 -05:00

66 lines
1.6 KiB
Bash

SUMMARY="A button football simulation"
DESCRIPTION="A turn based game where you play football (soccer) with buttons, \
boxes and simple rules."
HOMEPAGE="http://sourceforge.net/projects/digenv/"
COPYRIGHT="2009-2010 The DNTeam"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://www.mirrorservice.org/sites/downloads.sourceforge.net/d/di/digenv/xut/$portVersion/xut-$portVersion.tar.bz2"
CHECKSUM_SHA256="bbaca1531439cad1f5a040571b8208d87c129a597c93d06d1598eb512e86fef3"
SOURCE_DIR="xut"
PATCHES="xut-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
xut$secondaryArchSuffix = $portVersion
cmd:xut$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_ttf$secondaryArchSuffix
lib:libcal3d$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libopenal$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libvorbisfile$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libglu$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_ttf$secondaryArchSuffix
devel:libcal3d$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libopenal$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
mkdir -p bin
make install
cp -r data/* $dataDir/xut/
}