0
0
Fork 0
haikuports/games-emulation/z26/z26-2.16.00s.recipe

48 lines
1.1 KiB
Bash

SUMMARY="A fully-featured Atari 2600 emulator"
DESCRIPTION="z26 is an Atari 2600 emulator which supports a lot of carts and a \
whole lot of peripherals, including mindlink, Trak-Ball, Light Gun and much more!\
It also supports multiload files, and a whole lot of other features."
HOMEPAGE="http://whimsey.com/z26/"
COPYRIGHT="1997-2004 John Saeger"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://whimsey.com/z26/z26v2.16.00s.zip"
CHECKSUM_SHA256="fe285597543a9f562b25f11e57804c604d8226d9a6dc6dc1b9e2a4cfc5f38276"
SOURCE_DIR="src"
PATCHES="z26-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
z26$secondaryArchSuffix = $portVersion
app:z26$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libSDL${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:nasm
"
BUILD()
{
make beos
}
INSTALL()
{
mkdir -p $appsDir
cp z26 $appsDir/z26
addAppDeskbarSymlink $appsDir/z26 "z26"
}