atari++-1.81.recipe revision da0eb283
1SUMMARY="Emulator of Atari 8-bit system"
2DESCRIPTION="The Atari++ Emulator is a Unix based emulator of the Atari eight \
3bit computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and \
4130XE, and the Atari 5200 game console. The emulator is auto-configurable and \
5will compile on a variety of systems (Linux, Solaris, Irix). Its emulation \
6features are stunning:
7 * Cycle precise emulation; this includes correct emulation of horizontal \
8kernels and programs that modify chip registers within a horizontal line. \
9In a less technical language, software making use of advanced displaying \
10techniques will be emulated correctly.
11 * Emulation of an advanced 1050 disk drive including single, double and \
12enhanced density. The emulator not only understands .atr and .xfd files, \
13but comes with a mini-boot loader that allows you to boot from binary load \
14files (.exe and .com)."
15HOMEPAGE="http://xl-project.com/"
16COPYRIGHT="2004-2015 Thomas Richter"
17LICENSE="TPL"
18REVISION="2"
19SOURCE_URI="http://www.xl-project.com/download/atari++_$portVersion.tar.gz"
20CHECKSUM_SHA256="afb1e136257acb179a9e31aa7e6497df78a8227e58fd433accb135a91b3262eb"
21SOURCE_DIR="atari++"
22PATCHES="atari++-$portVersion.patchset"
23
24ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
25SECONDARY_ARCHITECTURES="x86"
26
27commandSuffix=$secondaryArchSuffix
28commandBinDir=$binDir
29if [ "$targetArchitecture" = x86_gcc2 ]; then
30	commandSuffix=
31	commandBinDir=$prefix/bin
32fi
33
34PROVIDES="
35	atari++$secondaryArchSuffix = $portVersion
36	cmd:atari++$commandSuffix = $portVersion
37	"
38REQUIRES="
39	haiku$secondaryArchSuffix
40	lib:libncurses$secondaryArchSuffix
41	lib:libpng16$secondaryArchSuffix
42	lib:libsdl$secondaryArchSuffix
43	lib:libz$secondaryArchSuffix
44	"
45
46BUILD_REQUIRES="
47	haiku${secondaryArchSuffix}_devel
48	devel:libncurses$secondaryArchSuffix
49	devel:libpng16$secondaryArchSuffix
50	devel:libsdl$secondaryArchSuffix
51	devel:libz$secondaryArchSuffix
52	"
53BUILD_PREREQUIRES="
54	cmd:aclocal
55	cmd:autoheader
56	cmd:autoreconf
57	cmd:awk
58	cmd:gcc$secondaryArchSuffix
59	cmd:ld$secondaryArchSuffix
60	cmd:make
61	cmd:which
62	"
63
64BUILD()
65{
66	autoreconf -vfi
67	runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir"
68	make $jobArgs
69}
70
71INSTALL()
72{
73	make install
74	addAppDeskbarSymlink "$commandBinDir"/atari++ "Atari++"
75}
76