mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
colobot_data: add recipe for 0.1.11 version
This commit is contained in:
49
games-strategy/colobot_data/colobot_data-0.1.11.recipe
Normal file
49
games-strategy/colobot_data/colobot_data-0.1.11.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Data package for Colobot (Colonize with Bots)"
|
||||
DESCRIPTION="Colobot: Gold Edition is a real-time strategy game, where you can \
|
||||
program your units (bots) in a language called CBOT, which is similar to C++ and \
|
||||
Java. Your mission is to find a new planet to live and survive. You can save the \
|
||||
humanity and get programming skills!"
|
||||
HOMEPAGE="https://colobot.info/"
|
||||
COPYRIGHT="Epsitec and TerranovaTeam"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/colobot/colobot-data/archive/colobot-gold-$portVersion-alpha.zip"
|
||||
CHECKSUM_SHA256="80e29c66d0160985f3339b63bd8d456065c1a535a164dc274407bcc66df78e9b"
|
||||
SOURCE_DIR="colobot-data-colobot-gold-$portVersion-alpha"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
colobot_data$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:python
|
||||
cmd:unzip
|
||||
cmd:wget
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. \
|
||||
-DCOLOBOT_INSTALL_DATA_DIR=$dataDir/Colobot \
|
||||
-DMUSIC=ON
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user