mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
cdogs_sdl: update to 1.4.1 (#7880)
This commit is contained in:
@@ -11,7 +11,7 @@ LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/cxong/cdogs-sdl/archive/$portVersion.tar.gz"
|
||||
SOURCE_DIR="cdogs-sdl-$portVersion"
|
||||
CHECKSUM_SHA256="d978a4314c1c9d6993f930ef505a5f8ae82aa689d383f94229a3f774323103f6"
|
||||
CHECKSUM_SHA256="99aa698ba652e6b06d0eb18a9de5634dab798abb47beec1533050e33719fad00"
|
||||
PATCHES="cdogs_sdl-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="cdogs.rdef.in"
|
||||
|
||||
@@ -47,21 +47,20 @@ BUILD()
|
||||
{
|
||||
# CDOGS_DATA_DIR needs the trailing slash
|
||||
# editor needs GTK, perhaps in a subpackage later
|
||||
cmake \
|
||||
cmake -B build -S . \
|
||||
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DCDOGS_BIN_DIR=$appsDir \
|
||||
-DCDOGS_DATA_DIR=$dataDir/cdogs-sdl/ \
|
||||
-DCDOGS_DOC_DIR=$documentationDir/cdogs-sdl \
|
||||
-DBUILD_EDITOR=OFF \
|
||||
.
|
||||
-DBUILD_EDITOR=OFF
|
||||
|
||||
make $jobArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
# cleanup
|
||||
# TODO move some of this into the cmake logic or patch the code as needed
|
||||
Reference in New Issue
Block a user