aboutsummaryrefslogtreecommitdiff
path: root/games/yamagi-quake2/yamagi-quake2.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <thedoogster@gmail.com>2014-01-14 23:04:50 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:01 -0600
commitf7b3f20275c30754cf048fcbf727cdc61e66f715 (patch)
tree28d673aba92c7f9913725ee13c0704e73749c868 /games/yamagi-quake2/yamagi-quake2.SlackBuild
parent481f31ce718ebfde2f0da9ced2ec5136204b4362 (diff)
games/yamagi-quake2: Updated for version 5.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/yamagi-quake2/yamagi-quake2.SlackBuild')
-rw-r--r--games/yamagi-quake2/yamagi-quake2.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild
index cd66ede8168b..70a96c06c5dd 100644
--- a/games/yamagi-quake2/yamagi-quake2.SlackBuild
+++ b/games/yamagi-quake2/yamagi-quake2.SlackBuild
@@ -25,7 +25,7 @@
# Includes components from the Arch Linux AUR builds.
PRGNAM=yamagi-quake2
-VERSION=${VERSION:-5.11}
+VERSION=${VERSION:-5.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,6 +33,9 @@ CTFVER=${CTFVER:-1.02}
XATRIXVER=${XATRIXVER:-2.00}
ROGUEVER=${ROGUEVER:-1.07}
+WITH_SDL2=${WITH_SDL2:-no}
+WITH_OPENAL=${WITH_OPENAL:-no}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -80,7 +83,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
- make
+ make WITH_SDL2=$WITH_SDL2 WITH_OPENAL=$WITH_OPENAL
mkdir -p $PKG/usr/{bin,share/quake2/{ctf,xatrix,rogue}}
cp -r release/* $PKG/usr/share/quake2