mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
60 lines
2.0 KiB
Bash
60 lines
2.0 KiB
Bash
SUMMARY="A port of MrBoom, a Bomberman clone, to the libretro architecture"
|
|
DESCRIPTION="MrBoom is a colorful clone of the all-time classic Bomberman from \
|
|
Hudson Soft. It features 8 players, netplay, AI bots (new C++ feature), \
|
|
pushing bombs, remote controls and kangaroo riding, among others. Originally \
|
|
developed for MS-DOS, this is the port to the Libretro architecture."
|
|
HOMEPAGE="http://mrboom.mumblecore.org/"
|
|
COPYRIGHT="2001-2020 Remdy Software, the libretro team"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
srcGitRev="d011acfbdb2d93ed38bd684ccfa0db79bda1c932"
|
|
SOURCE_URI="https://github.com/libretro/mrboom-libretro/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="a6dbf1aa822b89622456aee3b2b3adc5eaf22a2757b797aba3c5c0690a583dfc"
|
|
SOURCE_FILENAME="libretro-mrboom-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="mrboom-libretro-$srcGitRev"
|
|
srcGitRev_2="76a3d54feb0ee0ce9d59b90aa24694f3782063d3"
|
|
SOURCE_URI_2="https://github.com/libretro/libretro-common/archive/$srcGitRev_2.tar.gz"
|
|
CHECKSUM_SHA256_2="da3c61d2d47df12536a7977443387c1c3d7a750fe8c916c943860788b590db7e"
|
|
SOURCE_FILENAME_2="libretro-common-$srcGitRev_2.tar.gz"
|
|
ADDITIONAL_FILES="mrboom_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mrboom_libretro$secondaryArchSuffix = $portVersion
|
|
addon:mrboom_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/mrboom_libretro.info.in \
|
|
> mrboom_libretro.info
|
|
rm -rf ./libretro-common
|
|
cp -r $sourceDir2/libretro-common-$srcGitRev_2 ./libretro-common
|
|
make $jobArgs clean && make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" README.md LICENSE
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
mrboom_libretro.info \
|
|
mrboom_libretro.so
|
|
}
|