dgen-1.33.recipe revision 9b2b4619
1SUMMARY="SEGA Genesis/Mega Drive emulator"
2DESCRIPTION="DGen is a free, open source and portable emulator for the Sega \
3Genesis and Mega Drive systems. Features:
4 * Game Genie/Hex codes support
5 * PAL/NTSC, fullscreen modes
6 * Joypad/joystick support
7 * Mouse support
8 * Highly configurable controls
9 * Screenshots, demos recording and playback"
10HOMEPAGE="http://dgen.sourceforge.net/"
11COPYRIGHT="1998-2014 tamentis & zamaz"
12LICENSE="BSD (2-clause)"
13REVISION="1"
14SOURCE_URI="http://sourceforge.net/projects/dgen/files/dgen/$portVersion/dgen-sdl-$portVersion.tar.gz"
15CHECKSUM_SHA256="99e2c06017c22873c77f88186ebcc09867244eb6e042c763bb094b02b8def61e"
16SOURCE_DIR="dgen-sdl-$portVersion"
17
18ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
19SECONDARY_ARCHITECTURES="x86"
20
21PROVIDES="
22	dgen$secondaryArchSuffix = $portVersion
23	cmd:dgen = $portVersion
24	cmd:dgen_tobin = $portVersion
25	"
26REQUIRES="
27	haiku$secondaryArchSuffix
28	lib:libsdl_1.2$secondaryArchSuffix
29	"
30
31BUILD_REQUIRES="
32	haiku${secondaryArchSuffix}_devel
33	devel:libsdl_1.2$secondaryArchSuffix
34	"
35BUILD_PREREQUIRES="
36	cmd:awk
37	cmd:gcc$secondaryArchSuffix
38	cmd:ld$secondaryArchSuffix
39	cmd:make
40	cmd:nasm
41	"
42
43BUILD()
44{
45	runConfigure --omit-dirs binDir ./configure --bindir=$prefix/bin
46	make $jobArgs
47}
48
49INSTALL()
50{
51	make install
52	addAppDeskbarSymlink $prefix/bin/dgen "DGen"
53}
54