mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
55 lines
1.5 KiB
Bash
55 lines
1.5 KiB
Bash
SUMMARY="A ZX Spectrum emulator core for libretro"
|
|
DESCRIPTION="Fuse (the Free Unix Spectrum Emulator) was originally, and \
|
|
somewhat unsurprisingly, a ZX Spectrum emulator for Unix. However, it has now \
|
|
also been ported to libretro."
|
|
HOMEPAGE="http://fuse-emulator.sourceforge.net/"
|
|
COPYRIGHT="1999-2018, the Fuse team, the libretro team"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
srcGitRev="2edf7acc43857a82121610c3f9ded6f3d5d6204b"
|
|
SOURCE_URI="https://github.com/libretro/fuse-libretro/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="371962989b41bacaf7569328b05e1c32629d20e6a5f2c7edeaded6e10d346ff2"
|
|
SOURCE_FILENAME="fuse-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="fuse-libretro-$srcGitRev"
|
|
ADDITIONAL_FILES="fuse_libretro.info.in"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
fuse_libretro$secondaryArchSuffix = $portVersion
|
|
addon:fuse_libretro$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
retroarch$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
$portDir/additional-files/fuse_libretro.info.in \
|
|
> fuse_libretro.info
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" LICENSE README.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
fuse_libretro.info \
|
|
fuse_libretro.so
|
|
}
|