mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
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:
committed by
Scott McCreary
parent
ee6ba77e17
commit
d1a7cccea7
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user