From 62a77adecd71737d16a9709144bcca5d6285aaf5 Mon Sep 17 00:00:00 2001 From: begasus Date: Thu, 14 Apr 2016 15:52:16 +0200 Subject: [PATCH] new recipe for kobodeluxe 0.5.1 --- .../kobodeluxe/kobodeluxe-0.5.1.recipe | 59 +++++++++++++++++++ .../kobodeluxe/patches/kobodeluxe-0.5.1.patch | 14 +++++ 2 files changed, 73 insertions(+) create mode 100644 games-arcade/kobodeluxe/kobodeluxe-0.5.1.recipe create mode 100644 games-arcade/kobodeluxe/patches/kobodeluxe-0.5.1.patch diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1.recipe b/games-arcade/kobodeluxe/kobodeluxe-0.5.1.recipe new file mode 100644 index 000000000..7d9561c31 --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.5.1.recipe @@ -0,0 +1,59 @@ +SUMMARY="An enhanced port of the scrolling video game XKobo" +DESCRIPTION="Kobo Deluxe is a 3'rd person scrolling 2D shooter with a \ +simple and responsive control system - which you'll need to tackle the \ +tons of enemy ships that shoot at you, chase you, circle around you \ +shooting, or even launch other ships at you, while you're trying to destroy\ +the labyrinth shaped bases. There are 50 action packed levels with smoothly \ +increasing difficulty, and different combinations of enemies that \ +require different tactics to be dealt with successfully." +HOMEPAGE="http://olofson.net/kobodl/" +COPYRIGHT="1995-2007 Akira Higuchi, David Olofson" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="http://olofson.net/kobodl/download/KoboDeluxe-$portVersion.tar.bz2" +CHECKSUM_SHA256="0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c" +SOURCE_DIR="KoboDeluxe-0.5.1" +PATCHES="kobodeluxe-$portVersion.patch" + +ARCHITECTURES="x86 ?x86_gcc2 ?x86_64" + +PROVIDES=" + kobodl = $portVersion + app:KoboDeluxe = $portVersion + " +REQUIRES=" + haiku + lib:libsdl + lib:libSDL_image + lib:libglu + lib:libgl + " + +BUILD_REQUIRES=" + haiku_devel + devel:libsdl + devel:libSDL_image + devel:libglu + devel:libgl + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:libtoolize + cmd:make + " + +BUILD() +{ + libtoolize -fci + ./configure --prefix=$appsDir/KoboDeluxe + make $jobArgs +} + +INSTALL() +{ + mkdir -p $appsDir/KoboDeluxe + make install + mv $appsDir/KoboDeluxe/bin/kobodl $appsDir/KoboDeluxe/KoboDeluxe + rm -R $appsDir/KoboDeluxe/bin + addAppDeskbarSymlink $appsDir/KoboDeluxe/KoboDeluxe KoboDeluxe +} diff --git a/games-arcade/kobodeluxe/patches/kobodeluxe-0.5.1.patch b/games-arcade/kobodeluxe/patches/kobodeluxe-0.5.1.patch new file mode 100644 index 000000000..a4b7a1840 --- /dev/null +++ b/games-arcade/kobodeluxe/patches/kobodeluxe-0.5.1.patch @@ -0,0 +1,14 @@ +--- KoboDeluxe-0.5.1/configure.org 2016-04-13 17:19:21.956039168 +0200 ++++ KoboDeluxe-0.5.1/configure 2016-04-13 17:19:09.067108864 +0200 +@@ -5044,6 +5044,11 @@ + echo "${ECHO_T}BeOS; Un*x style install" >&6; } + MATHLIB="" + ;; ++ haiku) ++ { echo "$as_me:$LINENO: result: HAIKU; Un*x style install" >&5 ++echo "${ECHO_T}HAIKU; Un*x style install" >&6; } ++ MATHLIB="" ++ ;; + mingw32*) + { echo "$as_me:$LINENO: result: Win32 (mingw32); Simple bundle" >&5 + echo "${ECHO_T}Win32 (mingw32); Simple bundle" >&6; }