mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add z26 recipe
This commit is contained in:
53
games-emulation/z26/z26-2.16.00s.recipe
Normal file
53
games-emulation/z26/z26-2.16.00s.recipe
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user