0
0
Fork 0
haikuports/games-arcade/xrick_libretro/xrick_libretro-1.0.0.6_2021...

56 lines
1.7 KiB
Bash

SUMMARY="A port of XRick, a Rick Dangerous clone, to the libretro architecture"
DESCRIPTION="xrick is an exact clone of Rick Dangerous, produced by carefully \
cracking and reverse-engineering the orignal IBM PC (x86 CPU) and Atari ST \
(68k CPU) versions of the game, and then porting to C. Thanks to its \
structure, and the use of the SDL library, it has been reported to run on \
Linux, Windows, BeOs, Amiga, QNX, etc. and all sorts of gaming consoles, \
phones and devices."
HOMEPAGE="http://www.xrick.net"
COPYRIGHT="2000-2021 Bigorno.net, the libretro team"
LICENSE="xrick"
REVISION="1"
srcGitRev="1feefc5d49479d9892fbef677c877bd211753da9"
SOURCE_URI="https://github.com/libretro/xrick-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="30c95a08af94ed9e4e855fceab5755e472ad92ebc088529a2f095ba689b4ff05"
SOURCE_FILENAME="libretro-xrick-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="xrick-libretro-$srcGitRev"
ADDITIONAL_FILES="xrick_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
xrick_libretro$secondaryArchSuffix = $portVersion
addon:xrick_libretro$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
retroarch$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
$portDir/additional-files/xrick_libretro.info.in \
> xrick_libretro.info
make $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README.md README
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
xrick_libretro.info \
xrick_libretro.so
}