mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
79 lines
2.2 KiB
Bash
79 lines
2.2 KiB
Bash
SUMMARY="An enhanced port of the scrolling video game XKobo"
|
|
DESCRIPTION="Kobo Deluxe is a 3rd 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="4"
|
|
SOURCE_URI="http://olofson.net/kobodl/download/KoboDeluxe-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c"
|
|
SOURCE_DIR="KoboDeluxe-$portVersion"
|
|
PATCHES="kobodeluxe-$portVersion.patchset"
|
|
ADDITIONAL_FILES="kobodeluxe.rdef.in"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
|
|
PROVIDES="
|
|
kobodeluxe = $portVersion
|
|
app:KoboDeluxe = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libgl
|
|
lib:libglu
|
|
lib:libsdl
|
|
lib:libSDL_image
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libgl
|
|
devel:libglu
|
|
devel:libsdl
|
|
devel:libSDL_image
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
./configure --prefix=$appsDir/KoboDeluxe
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/KoboDeluxe
|
|
make install
|
|
mv $appsDir/KoboDeluxe/bin/kobodl $appsDir/KoboDeluxe/KoboDeluxe
|
|
mv $appsDir/KoboDeluxe/share/kobo-deluxe $appsDir/KoboDeluxe/data
|
|
rm -R $appsDir/KoboDeluxe/{bin,share}
|
|
|
|
local APP_SIGNATURE="application/x-vnd.kobodeluxe"
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
local LONG_INFO="$SUMMARY"
|
|
sed \
|
|
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
|
$portDir/additional-files/kobodeluxe.rdef.in > $sourceDir/kobodeluxe.rdef
|
|
|
|
addResourcesToBinaries $sourceDir/kobodeluxe.rdef $appsDir/KoboDeluxe/KoboDeluxe
|
|
|
|
addAppDeskbarSymlink $appsDir/KoboDeluxe/KoboDeluxe KoboDeluxe
|
|
}
|