mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
56 lines
1.6 KiB
Bash
56 lines
1.6 KiB
Bash
SUMMARY="A game interpreter to play RPG Maker games, using the libretro API"
|
|
DESCRIPTION="EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003 \
|
|
and EasyRPG games. It uses the LCF parser library (liblcf) to read RPG Maker \
|
|
game data."
|
|
HOMEPAGE="https://easyrpg.org/"
|
|
COPYRIGHT="2007-2018 the EasyRPG team, the libretro team"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
srcGitRev="80340d4e27b9bed1bf3239e0a0bb941d17e750a8"
|
|
SOURCE_URI="https://github.com/libretro/easyrpg-libretro/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="cf286f0d1cbeb13785443a63d888060b11530869f3002ea8dde30bd07aaedae5"
|
|
SOURCE_FILENAME="libretro-easyrpg-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="easyrpg-libretro-$srcGitRev"
|
|
ADDITIONAL_FILES="easyrpg_libretro.info.in"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
easyrpg_libretro$secondaryArchSuffix = $portVersion
|
|
addon:easyrpg_libretro$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
retroarch$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
$portDir/additional-files/easyrpg_libretro.info.in \
|
|
> easyrpg_libretro.info
|
|
cd builds/libretro/
|
|
make $jobArgs -f Makefile.libretro
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" README.md AUTHORS.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
easyrpg_libretro.info \
|
|
builds/libretro/easyrpg_libretro.so
|
|
}
|