mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
62 lines
1.4 KiB
Bash
62 lines
1.4 KiB
Bash
SUMMARY="A C port of the computer game Asylum"
|
|
DESCRIPTION="SDL Asylum is a C port of the computer game Asylum, which was \
|
|
written by Andy Southgate in 1994 for the Acorn Archimedes and is now public \
|
|
domain. It has been tested on Linux and Cygwin, but it should be possible to \
|
|
run it on other platforms which support the SDL graphics library."
|
|
HOMEPAGE="http://sdl-asylum.sourceforge.net/"
|
|
COPYRIGHT="1993 Andy Southgate"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://downloads.sourceforge.net/sdl-asylum/asylum-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="94c5bc7de89f185cbc0ac7a4add21e890ca9680a6d01c21841aae69c4b9e724f"
|
|
PATCHES="asylum-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/asylum/hiscores directory keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
asylum = $portVersion
|
|
app:Asylum = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libgl
|
|
lib:libglu
|
|
lib:libsdl
|
|
lib:libsdl_mixer
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libgl
|
|
devel:libglu
|
|
devel:libsdl
|
|
devel:libsdl_mixer
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make clean
|
|
make $jobArgs HOST=haiku \
|
|
INSTALLBIN=$appsDir/Asylum \
|
|
INSTALLRESOURCEPATH=$dataDir/asylum \
|
|
INSTALLHISCORES=$settingsDir/asylum/hiscores
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
make install HOST=haiku \
|
|
INSTALLGROUP="`id -gn`" \
|
|
INSTALLBIN=$appsDir/Asylum \
|
|
INSTALLRESOURCEPATH=$dataDir/asylum \
|
|
INSTALLHISCORES=$settingsDir/asylum/hiscores
|
|
}
|