cylindrix, update recipe so it builds and installs the data (#586)

* cylindrix, update recipe so it builds and installs the data, still wip but it starts and can be played (basic)

* cylindrix, mark as broken on all arch's
This commit is contained in:
Schrijvers Luc
2018-09-25 14:02:01 +00:00
committed by Scott McCreary
parent ee6ba77e17
commit d1a7cccea7

View File

@@ -1,19 +1,57 @@
SUMMARY="A combat game"
DESCRIPTION="Cylindrix is a 3 degrees of freedom combat game" DESCRIPTION="Cylindrix is a 3 degrees of freedom combat game"
HOMEPAGE="https://www.allegro.cc/depot/Cylindrix" HOMEPAGE="https://www.allegro.cc/depot/Cylindrix"
SOURCE_URI="https://d1cxvcw9gjxu2x.cloudfront.net/projects/1235#cylindrix-1.0.tar.gz" COPYRIGHT="2001 John R. McCawley III, Anthony Thibault"
LICENSE="GNU GPL v2"
REVISION="1" REVISION="1"
CHECKSUM_MD5="914cf70b0a95f4a36cfdfde7edbaa240" SOURCE_URI="https://d1cxvcw9gjxu2x.cloudfront.net/projects/1235#cylindrix-1.0.tar.gz"
STATUS_HAIKU="stable" CHECKSUM_SHA256="33bfc264d906a1977090e47a38f544551d2939d4c0ea01e1792f63ab4fa06f20"
DEPEND="media-libs/allegro >= 4.4.1.1"
SOURCE_DIR="cylindrix"
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
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:gcc$secondaryArchSuffix
cmd:make
cmd:cmp
cmd:aclocal
cmd:automake
cmd:autoheader
cmd:libtoolize
cmd:makeinfo
"
BUILD() BUILD()
{ {
cd cylindrix libtoolize -fci
CFLAGS='-O2' ./configure --prefix=`finddir B_COMMON_DIRECTORY` aclocal -I $sourceDir
make autoconf
automake --add-missing
runConfigure --omit-dirs binDir ./configure --bindir=$appsDir/Cylindrix
make $jobArgs
} }
INSTALL() INSTALL()
{ {
cd cylindrix
make 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
} }