mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
52 lines
1.3 KiB
Bash
52 lines
1.3 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/"
|
|
SOURCE_URI="http://whimsey.com/z26/z26v2.16.00s.zip"
|
|
CHECKSUM_SHA256="fe285597543a9f562b25f11e57804c604d8226d9a6dc6dc1b9e2a4cfc5f38276"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1997-2004 John Saeger"
|
|
|
|
ARCHITECTURES="x86"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
fi
|
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
z26$secondaryArchSuffix = $portVersion
|
|
app:z26$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsdl${secondaryArchSuffix}
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:nasm
|
|
cmd:ld$secondaryArchSuffix
|
|
"
|
|
SOURCE_DIR="src"
|
|
|
|
BUILD()
|
|
{
|
|
make beos
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp z26 $appsDir/z26
|
|
addAppDeskbarSymlink $appsDir/z26 "z26"
|
|
}
|