From 31ff93a759ac43cd98f53977c7e84ae60849b92d Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Thu, 18 Dec 2014 21:29:43 +0000 Subject: [PATCH] Add z26 recipe --- games-emulation/z26/z26-2.16.00s.recipe | 53 +++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 games-emulation/z26/z26-2.16.00s.recipe diff --git a/games-emulation/z26/z26-2.16.00s.recipe b/games-emulation/z26/z26-2.16.00s.recipe new file mode 100644 index 000000000..cb6669fff --- /dev/null +++ b/games-emulation/z26/z26-2.16.00s.recipe @@ -0,0 +1,53 @@ +SUMMARY="A fully-featured Atari 2600 emulator" +DESCRIPTION=" +z26 is an Atari 2600 emulator which supports a lot of carts and a \ +whole lot of peripherals, including mindlink, Trak-Ball, Light Gun and much more!\ +It also supports multiload files, and a whole lot of other features. +" +HOMEPAGE="http://whimsey.com/z26/" +SRC_URI="http://whimsey.com/z26/z26v2.16.00s.zip" +CHECKSUM_SHA256="fe285597543a9f562b25f11e57804c604d8226d9a6dc6dc1b9e2a4cfc5f38276" +REVISION="1" +LICENSE="GNU GPL v2" +COPYRIGHT="1997-2004 John Saeger" + +ARCHITECTURES="x86" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi + +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + z26$secondaryArchSuffix = $portVersion + app:z26$secondaryArchSuffix = $portVersion +" +REQUIRES=" + haiku$secondaryArchSuffix + lib:libsdl$secondaryArchSuffix +" +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + libsdl${secondaryArchSuffix}_devel +" +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:nasm + cmd:ld$secondaryArchSuffix +" +SOURCE_DIR="src" + +BUILD() +{ + make beos +} + +INSTALL() +{ + mkdir -p $appsDir + cp z26 $appsDir/z26 + addAppDeskbarSymlink $appsDir/z26 "z26" +}