59 lines
1.5 KiB
Bash
59 lines
1.5 KiB
Bash
SUMMARY="Race down mountainous terrain as quickly as possible"
|
|
DESCRIPTION="Tux Racer lets you take on the role of Tux the Linux Penguin \
|
|
as he races down steep, snow-covered mountains. Enter cups and compete to \
|
|
win the title! Tux Racer includes a variety of options for gameplay, including \
|
|
the ability to race courses in fog, at night, and under high winds."
|
|
HOMEPAGE="http://tuxracer.sourceforge.net"
|
|
COPYRIGHT="1999-2001 Jasmin F. Patry"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="4"
|
|
SOURCE_URI="http://download.sourceforge.net/tuxracer/tuxracer-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a311d09080598fe556134d4b9faed7dc0c2ed956ebb10d062e5d4df022f91eff"
|
|
PATCHES="tuxracer-$portVersion.patch"
|
|
|
|
ARCHITECTURES="!all x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
tuxracer = portVersion
|
|
app:TuxRacer = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
tuxracer_data
|
|
lib:libGL
|
|
lib:libGLU
|
|
lib:libSDL_1.2
|
|
lib:libtcl8.6 #tcl version in the recipe has to be set to >=8.0 instead of >=8.6
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libGL
|
|
devel:libGLU
|
|
devel:libSDL
|
|
devel:libtclstub8.6
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize -fci
|
|
./configure --prefix=$appsDir/TuxRacer --datadir=$appsDir/TuxRacer/data \
|
|
--with-data-dir=$appsDir/TuxRacer/data --with-tcl-lib-name=tcl8.6
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
#install the date files first before installing TuxRacer
|
|
mkdir -p $appsDir/TuxRacer
|
|
make install
|
|
mv $appsDir/TuxRacer/bin/tuxracer $appsDir/TuxRacer/TuxRacer
|
|
rm -r $appsDir/TuxRacer/bin
|
|
addAppDeskbarSymlink $appsDir/TuxRacer/TuxRacer TuxRacer
|
|
}
|