mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
64 lines
1.9 KiB
Bash
64 lines
1.9 KiB
Bash
SUMMARY="A 2D space trading and combat game"
|
|
DESCRIPTION="Endless Sky is a 2D space trading and combat game \
|
|
similar to the classic Escape Velocity series. Explore other star systems. \
|
|
Earn money by trading, carrying passengers, or completing missions. \
|
|
Use your earnings to buy a better ship or to upgrade the weapons and engines \
|
|
on your current one. Blow up pirates. Take sides in a civil war. \
|
|
Or leave human space behind and hope to find friendly aliens whose culture \
|
|
is more civilized than your own."
|
|
HOMEPAGE="http://endless-sky.github.io/"
|
|
COPYRIGHT="Michael Zahniser"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/endless-sky/endless-sky/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="58f2e405e171be8426004216df4df7bb3a2792a507a5d01f77a0f02346332f6f"
|
|
SOURCE_DIR="endless-sky-$portVersion"
|
|
PATCHES="endless_sky-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 !x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
endless_sky$secondaryArchSuffix = $portVersion
|
|
app:EndlessSky = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libglew$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libmad$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libGL$secondaryArchSuffix
|
|
devel:libglew$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix >= 62
|
|
devel:libmad$secondaryArchSuffix
|
|
devel:libopenal$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:scons
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
scons $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/EndlessSky
|
|
cp -r endless-sky credits.txt data images sounds $appsDir/EndlessSky/
|
|
addAppDeskbarSymlink $appsDir/EndlessSky/endless-sky EndlessSky
|
|
}
|