mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Added cleaned recipe for neverball
This commit is contained in:
72
games-puzzle/neverball/neverball-1.5.4.recipe
Normal file
72
games-puzzle/neverball/neverball-1.5.4.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
DESCRIPTION="
|
||||
Neverball is part puzzle game, part action game, and entirely a test
|
||||
of skill. Tilt the floor to roll a ball through an obstacle course
|
||||
before time runs out.
|
||||
"
|
||||
SUMMARY="Tilt the floor to roll a ball through an course before time runs out."
|
||||
HOMEPAGE="http://neverball.org"
|
||||
COPYRIGHT="2002-2010 The Neverball Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
SRC_URI="http://neverball.org/neverball-1.5.4.tar.gz"
|
||||
CHECKSUM_MD5="c523b0f72c2035831310e821162f7bd7"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
PATCHES="neverball-1.5.4.patch"
|
||||
|
||||
PROVIDES="
|
||||
neverball$secondaryArchSuffix = $portVersion
|
||||
app:neverball$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libphysfs$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
lib:libsdl_ttf$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libphysfs$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsdl_mixer$secondaryArchSuffix
|
||||
devel:libsdl_ttf$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
gettext$secondaryArchSuffix # it's needed
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:libpng_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/neverball
|
||||
cp -rf neverball neverputt mapc README COPYING CHANGES data $appsDir/neverball
|
||||
addAppDeskbarSymlink $appsDir/neverball/neverball
|
||||
}
|
||||
13
games-puzzle/neverball/patches/neverball-1.5.4.patch
Normal file
13
games-puzzle/neverball/patches/neverball-1.5.4.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index a22fed1..e095a3a 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -111,7 +111,7 @@ ifeq ($(ENABLE_WII),1)
|
||||
TILT_LIBS := -lcwiimote -lbluetooth
|
||||
endif
|
||||
|
||||
-OGL_LIBS := -lGL -lm
|
||||
+OGL_LIBS := -lGL -lintl
|
||||
|
||||
ifdef MINGW
|
||||
ifneq ($(ENABLE_NLS),0)
|
||||
Reference in New Issue
Block a user