0
0
Fork 0
haikuports/games-emulation/atari++/atari++-1.81.recipe

76 lines
2.2 KiB
Bash

SUMMARY="Emulator of Atari 8-bit system"
DESCRIPTION="The Atari++ Emulator is a Unix based emulator of the Atari eight \
bit computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and \
130XE, and the Atari 5200 game console. The emulator is auto-configurable and \
will compile on a variety of systems (Linux, Solaris, Irix). Its emulation \
features are stunning:
* Cycle precise emulation; this includes correct emulation of horizontal \
kernels and programs that modify chip registers within a horizontal line. \
In a less technical language, software making use of advanced displaying \
techniques will be emulated correctly.
* Emulation of an advanced 1050 disk drive including single, double and \
enhanced density. The emulator not only understands .atr and .xfd files, \
but comes with a mini-boot loader that allows you to boot from binary load \
files (.exe and .com)."
HOMEPAGE="http://xl-project.com/"
COPYRIGHT="2004-2015 Thomas Richter"
LICENSE="TPL"
REVISION="4"
SOURCE_URI="http://www.xl-project.com/download/atari++_$portVersion.tar.gz"
CHECKSUM_SHA256="afb1e136257acb179a9e31aa7e6497df78a8227e58fd433accb135a91b3262eb"
SOURCE_DIR="atari++"
PATCHES="atari++-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
atari++$secondaryArchSuffix = $portVersion
cmd:atari++$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libSDL$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoheader
cmd:autoreconf
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:which
"
BUILD()
{
autoreconf -vfi
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir"
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink "$commandBinDir"/atari++ "Atari++"
}