code style.

This commit is contained in:
Jerome Duval
2018-09-10 08:04:21 +02:00
parent 3a180506b9
commit 0113e6f1a9
23 changed files with 252 additions and 266 deletions

View File

@@ -8,45 +8,46 @@ project will serve as a base from which extensions and improvements to the
original game can be made.
"
HOMEPAGE="http://github.com/CorsixTH"
COPYRIGHT="2005-2013 Corsix"
LICENSE="MIT"
REVISION="3"
SOURCE_URI="https://github.com/CorsixTH/CorsixTH/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="4947ebdc50b01fde0aca797250d50b9806b9e6f3f4323872fd914f033f4c92e7"
SOURCE_FILENAME="CorsixTH-$portVersion.tar.gz"
REVISION="3"
SOURCE_DIR="CorsixTH-$portVersion"
PATCHES="corsix_th-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
corsix_th = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libavcodec$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libluajit_5.1$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libavcodec$secondaryArchSuffix
lib:libluajit_5.1$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libavcodec$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libluajit_5.1$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libavcodec$secondaryArchSuffix
devel:libluajit_5.1$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:git
cmd:make
cmd:cmake
cmd:pkg_config$secondaryArchSuffix
"
SOURCE_DIR="CorsixTH-$portVersion"
PATCHES="corsix_th-$portVersion.patchset"
BUILD()
{
cmake . -DLUA_LIBRARY=/system/$relativeLibDir/libluajit-5.1.so.2.0.2 \
@@ -65,6 +66,3 @@ INSTALL()
}
# no TEST script available
COPYRIGHT="2005-2013 Corsix"
LICENSE="MIT"