z26-2.16.00s.recipe revision 37aa2fae
1SUMMARY="A fully-featured Atari 2600 emulator"
2DESCRIPTION="z26 is an Atari 2600 emulator which supports a lot of carts and a \
3whole lot of peripherals, including mindlink, Trak-Ball, Light Gun and much more!\
4It also supports multiload files, and a whole lot of other features."
5HOMEPAGE="http://whimsey.com/z26/"
6COPYRIGHT="1997-2004 John Saeger"
7LICENSE="GNU GPL v2"
8REVISION="2"
9SOURCE_URI="http://whimsey.com/z26/z26v2.16.00s.zip"
10CHECKSUM_SHA256="fe285597543a9f562b25f11e57804c604d8226d9a6dc6dc1b9e2a4cfc5f38276"
11SOURCE_DIR="src"
12PATCHES="z26-$portVersion.patchset"
13
14ARCHITECTURES="!x86_gcc2 ?x86"
15SECONDARY_ARCHITECTURES="x86"
16
17PROVIDES="
18	z26$secondaryArchSuffix = $portVersion
19	app:z26$secondaryArchSuffix = $portVersion
20	"
21REQUIRES="
22	haiku$secondaryArchSuffix
23	lib:libSDL_1.2$secondaryArchSuffix
24	"
25
26BUILD_REQUIRES="
27	haiku${secondaryArchSuffix}_devel
28	devel:libSDL${secondaryArchSuffix}
29	"
30BUILD_PREREQUIRES="
31	cmd:gcc$secondaryArchSuffix
32	cmd:ld$secondaryArchSuffix
33	cmd:make
34	cmd:nasm
35	"
36
37BUILD()
38{
39	make beos
40}
41
42INSTALL()
43{
44	mkdir -p $appsDir
45	cp z26 $appsDir/z26
46	addAppDeskbarSymlink $appsDir/z26 "z26"
47}
48