mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
openjazz, new recipe, Co-Authered by Przemysław Buczkowski (#3544)
* openjazz, new recipe, Co-Authered by Przemysław Buczkowski
This commit is contained in:
64
games-action/openjazz/openjazz-20190106.recipe
Normal file
64
games-action/openjazz/openjazz-20190106.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY="A free, open-source version of classic Jazz Jackrabbit games"
|
||||
DESCRIPTION="A free, open-source version of classic Jazz Jackrabbit games.\
|
||||
Requires the original game data to work.\
|
||||
Please put the data into the folder:\
|
||||
~/config/non-packaged/Data/openjazz"
|
||||
HOMEPAGE="https://github.com/AlisterT/openjazz"
|
||||
COPYRIGHT="Alister Thomson"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/AlisterT/openjazz/releases/download/$portVersion/openjazz-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="91341adcc4908db12aad6b82d2fb0125429a26585f65d7eb32d403656313eaab"
|
||||
SOURCE_DIR="openjazz-$portVersion"
|
||||
ADDITIONAL_FILES="openjazz.rdef"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
openjazz = $portVersion
|
||||
app:OpenJazz = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libsdl
|
||||
# lib:libxmp
|
||||
lib:libmodplug
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libsdl
|
||||
# devel:libxmp
|
||||
devel:libmodplug
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure --omit-dirs binDir \
|
||||
./configure --bindir=$appsDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove unneeded data for Haiku
|
||||
rm -rf "$dataDir"/icons
|
||||
rm -rf "$dataDir"/applications
|
||||
|
||||
addResourcesToBinaries \
|
||||
$portDir/additional-files/openjazz.rdef $appsDir/OpenJazz
|
||||
addAppDeskbarSymlink $appsDir/OpenJazz
|
||||
}
|
||||
Reference in New Issue
Block a user