53 lines
1.4 KiB
Bash
53 lines
1.4 KiB
Bash
SUMMARY="An emulator for the NES/Famicom"
|
|
DESCRIPTION="FCEUX is an emulator for the NES and Famicom, based on FCE Ultra \
|
|
which is based on FCE. It combines many different changes of FCE Ultra, like \
|
|
support for a lot of the different hardware of NES Cartridges, rerecording \
|
|
bult-in and a high level of portability."
|
|
HOMEPAGE="http://fceux.com/web/"
|
|
COPYRIGHT="1998-2014 tamentis & zamaz"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://sourceforge.net/projects/fceultra/files/Source%20Code/2.2.2%20src/fceux-2.2.2.src.tar.gz"
|
|
CHECKSUM_SHA256="804d11bdb4a195f3a580ce5d2d01be877582763378637e16186a22459f5fe5e1"
|
|
PATCHES="fceux-$portVersion.patch"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
fceux$secondaryArchSuffix = $portVersion
|
|
cmd:fceux$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
glu$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libsdl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
glu${secondaryArchSuffix}_devel
|
|
devel:libgl${secondaryArchSuffix}
|
|
devel:libsdl$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:scons
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
scons OPENGL=1 GTK=0 LUA=0 $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir $manDir/man6
|
|
cp bin/fceux $binDir
|
|
cp documentation/fceux.6 $manDir/man6
|
|
}
|