Files
haikuports/games-arcade/kraptor/kraptor-4.4.14.recipe
Adrien Destugues 937947db06 Add recipe for Kraptor.
An Allegro game that used to work on BeOS.
Seems to have problems so far which appears to be in Allegro:
- as usual on my machine fullscreen mode doesn't work (BDirectWindow problems)
- the level data does not load. The correct arguments are passed to
  the Allegro functions so I don't know why
2020-07-13 13:53:19 +02:00

51 lines
1.3 KiB
Bash

SUMMARY="Classic shoot 'em up scroller game"
DESCRIPTION="A classic shoot 'em up scroller game, where you must fight \
against tons of bad dudes. This is a full game with massive destruction, \
powerful weapons, and high speed action in varied levels."
HOMEPAGE="https://sourceforge.net/projects/kraptor/"
COPYRIGHT="2002-2004 Kronoman"
LICENSE="MIT"
SOURCE_URI="https://sourceforge.net/projects/kraptor/files/kraptor_source_code/final_apr_03_2004/kraptor_final_apr_03_2004.tar.gz"
CHECKSUM_SHA256="ce3d3b517bd081dc317eedc57b8e58a7c5cba50d1cf1f2d06fd3d885d31870a8"
SOURCE_DIR="kraptor_final_apr_03_2004"
PATCHES="kraptor-$portVersion"
REVISION="1"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
kraptor$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:liballeg$secondaryArchSuffix
lib:libdumb$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:liballeg$secondaryArchSuffix
devel:libdumb$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
sh fix.sh linux
sh fix.sh test
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Kraptor
cp bin/*.dat bin/kraptor.cfg $appsDir/Kraptor
cp bin/kraptor_linux.bin $appsDir/Kraptor/Kraptor
addAppDeskbarSymlink $appsDir/Kraptor/Kraptor
}