0
0
Fork 0
haikuports/games-emulation/dgen/dgen-1.33.recipe

54 lines
1.3 KiB
Bash

SUMMARY="SEGA Genesis/Mega Drive emulator"
DESCRIPTION="DGen is a free, open source and portable emulator for the Sega \
Genesis and Mega Drive systems. Features:
* Game Genie/Hex codes support
* PAL/NTSC, fullscreen modes
* Joypad/joystick support
* Mouse support
* Highly configurable controls
* Screenshots, demos recording and playback"
HOMEPAGE="http://dgen.sourceforge.net/"
COPYRIGHT="1998-2014 tamentis & zamaz"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/dgen/files/dgen/$portVersion/dgen-sdl-$portVersion.tar.gz"
CHECKSUM_SHA256="99e2c06017c22873c77f88186ebcc09867244eb6e042c763bb094b02b8def61e"
SOURCE_DIR="dgen-sdl-$portVersion"
ARCHITECTURES="?all !x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dgen$secondaryArchSuffix = $portVersion
cmd:dgen = $portVersion
cmd:dgen_tobin = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl_1.2$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl_1.2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:nasm
"
BUILD()
{
runConfigure --omit-dirs binDir ./configure --bindir=$prefix/bin
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink $prefix/bin/dgen "DGen"
}