mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
openclaw: new recipe
This commit is contained in:
69
games-arcade/openclaw/openclaw-1.0.3_20181104.recipe
Normal file
69
games-arcade/openclaw/openclaw-1.0.3_20181104.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
SUMMARY="A 2D side-scroller platform video game"
|
||||
DESCRIPTION="OpenClaw is a multiplatform C++ reimplementation of original \
|
||||
Captain Claw published by Monolith Productions in 1997 about the \
|
||||
anthropomorphic pirate cat Captain Nathaniel Joseph Claw, \
|
||||
who sets on a quest to find an ancient amulet while fighting \
|
||||
enemies and solving puzzles. For this reimplementation \
|
||||
the whole codebase was written from scratch. \
|
||||
The game uses assets from the original game archive (CLAW.REZ)"
|
||||
HOMEPAGE="https://github.com/pjasicek/OpenClaw"
|
||||
COPYRIGHT="2009 Peter \"Corsix\" Cawley
|
||||
2012 Michael L. McShaffry and David Graham"
|
||||
LICENSE="MIT
|
||||
GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="150f7edb7542f3f877b42afc948cc24ea9a46c48"
|
||||
SOURCE_URI="https://github.com/pjasicek/OpenClaw/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="9521811f572ca6c61288628cc32ff86f9c7a455afa09387232282f936a531845"
|
||||
SOURCE_FILENAME="openclaw-$portVersion-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="OpenClaw-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandBinDir=$prefix/bin
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
openclaw$secondaryArchSuffix = $portVersion
|
||||
cmd:openclaw = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libsdl2_2.0$secondaryArchSuffix
|
||||
lib:libsdl2_mixer_2.0$secondaryArchSuffix
|
||||
lib:libsdl2_ttf$secondaryArchSuffix
|
||||
lib:libsdl2_image_2.0$secondaryArchSuffix
|
||||
lib:libsdl2_gfx$secondaryArchSuffix
|
||||
lib:libtinyxml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsdl2_2.0$secondaryArchSuffix
|
||||
devel:libsdl2_mixer_2.0$secondaryArchSuffix
|
||||
devel:libsdl2_ttf$secondaryArchSuffix
|
||||
devel:libsdl2_image_2.0$secondaryArchSuffix
|
||||
devel:libsdl2_gfx$secondaryArchSuffix
|
||||
devel:libtinyxml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $commandBinDir
|
||||
cp Build_Release/openclaw $commandBinDir
|
||||
}
|
||||
Reference in New Issue
Block a user