From d1a7cccea7513d206fd77261174b57cae23fb6cc Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Tue, 25 Sep 2018 14:02:01 +0000 Subject: [PATCH] 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 --- games-action/cylindrix/cylindrix-1.0.recipe | 54 ++++++++++++++++++--- 1 file changed, 46 insertions(+), 8 deletions(-) diff --git a/games-action/cylindrix/cylindrix-1.0.recipe b/games-action/cylindrix/cylindrix-1.0.recipe index 57ce07584..6ee107c80 100644 --- a/games-action/cylindrix/cylindrix-1.0.recipe +++ b/games-action/cylindrix/cylindrix-1.0.recipe @@ -1,19 +1,57 @@ +SUMMARY="A combat game" DESCRIPTION="Cylindrix is a 3 degrees of freedom combat game" 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" -CHECKSUM_MD5="914cf70b0a95f4a36cfdfde7edbaa240" -STATUS_HAIKU="stable" -DEPEND="media-libs/allegro >= 4.4.1.1" +SOURCE_URI="https://d1cxvcw9gjxu2x.cloudfront.net/projects/1235#cylindrix-1.0.tar.gz" +CHECKSUM_SHA256="33bfc264d906a1977090e47a38f544551d2939d4c0ea01e1792f63ab4fa06f20" + +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() { - cd cylindrix - CFLAGS='-O2' ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make + libtoolize -fci + aclocal -I $sourceDir + autoconf + automake --add-missing + runConfigure --omit-dirs binDir ./configure --bindir=$appsDir/Cylindrix + make $jobArgs } INSTALL() { - cd cylindrix 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 }