0
0
Fork 0
haikuports/games-action/cylindrix/cylindrix-1.0.recipe

56 lines
1.2 KiB
Bash

SUMMARY="A combat game"
DESCRIPTION="Cylindrix is a 3 degrees of freedom combat game"
HOMEPAGE="https://www.allegro.cc/depot/Cylindrix"
COPYRIGHT="2001 John R. McCawley III, Anthony Thibault"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://d1cxvcw9gjxu2x.cloudfront.net/projects/1235#cylindrix-1.0.tar.gz"
CHECKSUM_SHA256="33bfc264d906a1977090e47a38f544551d2939d4c0ea01e1792f63ab4fa06f20"
SOURCE_DIR="cylindrix"
ARCHITECTURES="!all"
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
cylindrix
cmd:cylindrix$secondaryArchSuffix
"
REQUIRES="
haiku${secondaryArchSuffix}
lib:liballeg$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:liballeg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoheader
cmd:automake
cmd:cmp
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:makeinfo
"
BUILD()
{
libtoolize -fci
aclocal -I $sourceDir
autoconf
automake --add-missing
runConfigure --omit-dirs binDir ./configure --bindir=$appsDir/Cylindrix
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/Cylindrix/cylindrix $appsDir/Cylindrix/Cylindrix
cd $sourceDir
cp -r 3d_data gamedata pcx_data stats wav_data $appsDir/Cylindrix
addAppDeskbarSymlink $appsDir/Cylindrix/Cylindrix Cylindrix
}