advancemame-3.9.recipe revision bccd6fba
1SUMMARY="Unofficial MAME version with advanced video support"
2DESCRIPTION=" \
3AdvanceMAME is unofficial MAME version with advanced video support \
4for better use with TVs, Arcade monitors, PC monitors and LCD screens."
5HOMEPAGE="http://advancemame.sourceforge.net"
6COPYRIGHT="1996-2006, Nicola Salmoria and the MAME Team"
7LICENSE="GNU GPL v2"
8REVISION="1"
9SOURCE_URI="https://github.com/amadvance/advancemame/releases/download/v$portVersion/advancemame-$portVersion.tar.gz"
10CHECKSUM_SHA256="3e4628e1577e70a1dbe104f17b1b746745b8eda80837f53fbf7b091c88be8c2b"
11PATCHES="advancemame-$portVersion.patchset"
12if [ "$effectiveTargetArchitecture" = x86 ]; then
13	PATCHES="$PATCHES
14	advancemame_x86-$portVersion.patchset"
15fi
16
17ARCHITECTURES="!x86_gcc2 x86 x86_64"
18SECONDARY_ARCHITECTURES="x86"
19
20PROVIDES="
21	advancemame$secondaryArchSuffix = $portVersion
22	cmd:advj$secondaryArchSuffix
23	cmd:advk$secondaryArchSuffix
24	cmd:advm$secondaryArchSuffix
25	cmd:advmame$secondaryArchSuffix
26	cmd:advmenu$secondaryArchSuffix
27	cmd:advmess$secondaryArchSuffix
28	cmd:advs$secondaryArchSuffix
29	"
30REQUIRES="
31	haiku$secondaryArchSuffix
32	lib:libexpat$secondaryArchSuffix
33	lib:libfreetype$secondaryArchSuffix
34	lib:libncurses$secondaryArchSuffix
35	lib:libSDL_1.2$secondaryArchSuffix
36	lib:libz$secondaryArchSuffix
37	"
38
39BUILD_REQUIRES="
40	haiku${secondaryArchSuffix}_devel
41	devel:libexpat$secondaryArchSuffix
42	devel:libfreetype$secondaryArchSuffix
43	devel:libncurses$secondaryArchSuffix
44	devel:libSDL$secondaryArchSuffix
45	devel:libz$secondaryArchSuffix
46	"
47BUILD_PREREQUIRES="
48	cmd:awk
49	cmd:gcc$secondaryArchSuffix
50	cmd:ld$secondaryArchSuffix
51	cmd:make
52	cmd:pkg_config$secondaryArchSuffix
53	"
54
55BUILD()
56{
57	runConfigure ./configure
58	make $jobArgs
59}
60
61INSTALL()
62{
63	make install
64}
65