mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Added recipe and patch for nesalizer (#4461)
This commit is contained in:
committed by
Sergei Reznikov
parent
1eda2f7b1e
commit
0ce0bc3219
46
app-emulation/nesalizer/nesalizer-1.0~git.recipe
Normal file
46
app-emulation/nesalizer/nesalizer-1.0~git.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY="SDL-based NES emulator"
|
||||
DESCRIPTION="A work-in-progress NES emulator with a real-time rewind \
|
||||
feature that correctly reverses sound."
|
||||
HOMEPAGE="https://github.com/ulfalizer/nesalizer"
|
||||
COPYRIGHT="2013-2016 Ulf Magnusson"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="5bb045845a5cc829a78b7384f848fdd886cd98c8"
|
||||
SOURCE_URI="https://github.com/ulfalizer/nesalizer/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="4282cb0e4af0585af4a594dfa30b2e350dd0efc39e5bc2d8312f637f50397107"
|
||||
SOURCE_DIR="nesalizer-$srcGitRev"
|
||||
PATCHES="nesalizer-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
nesalizer$secondaryArchSuffix = $portVersion
|
||||
app:Nesalizer
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexecinfo$secondaryArchSuffix
|
||||
lib:libsdl2_2.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libexecinfo$secondaryArchSuffix
|
||||
devel:libsdl2_2.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make CONF=release $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make CONF=release INSTALL_DIR=$prefix/bin
|
||||
}
|
||||
Reference in New Issue
Block a user