circuslinux new recipe and patch file

This commit is contained in:
begasus
2014-10-14 15:42:22 +02:00
parent cb58bbb425
commit 7463bd818a
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
SUMMARY="Circus Linux! is a clone of the Atari 2600 game Circus Atari"
DESCRIPTION="The object is to move a teeter-totter back and forth across \
the screen to bounce clowns up into the air. When they reach the top, they \
pop rows of balloons and then fall back down."
HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/"
SRC_URI="ftp://ftp.tuxpaint.org/unix/x/circus-linux/src/circuslinux-$portVersion.tar.gz"
REVISION="1"
CHECKSUM_SHA256="bf9550ebd598a9e7d93a20d80ff466475122f8b023314bb1e07c31e8c608ce8a"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 Bill Kendrik, Jarkko Rotsten"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
PATCHES="circuslinux-$portVersion.patch"
PROVIDES="
circuslinux = $portVersion
app:circuslinux = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libsdl
lib:libSDL_image
lib:libSDL_mixer
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libsdl
devel:libSDL_image
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize -fci
./configure --prefix=$appsDir/CircusLinux
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/CircusLinux
make install
ln -s $appsDir/CircusLinux/bin/circuslinux $appsDir/CircusLinux/CircusLinux
addAppDeskbarSymlink $appsDir/CircusLinux/bin/circuslinux CircusLinux
}

View File

@@ -0,0 +1,11 @@
--- circuslinux-1.0.3/Makefile.in_org 2014-10-13 21:55:14.330563584 +0200
+++ circuslinux-1.0.3/Makefile.in 2014-10-13 21:47:12.418906112 +0200
@@ -85,7 +85,7 @@
JOY = @JOY@
TARGET_DEF = @TARGET_DEF@
-CFLAGS = @CFLAGS@ -Wall -O2 -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(TARGET_DEF) -DJOY_$(JOY)
+CFLAGS = @CFLAGS@ -Wall -O2 -DDATA_PREFIX=\"$(DATA_PREFIX)\"
LIBS = @LIBS@