games/iortcw: Updated for version 1.51.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Sébastien Ballet 2017-06-10 02:26:22 +07:00 committed by Willy Sudiarto Raharjo
parent c4569d7582
commit 18a0493edf
4 changed files with 14 additions and 52 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for iortcw
# Copyright 2016 S. Ballet, France
# Copyright 2016-2017 Sébastien Ballet, France
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=iortcw
VERSION=${VERSION:-1.5a}
VERSION=${VERSION:-1.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -147,14 +147,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# The patches below are required to remove invalid references to ../.git/index
# found in iortcw Makefiles from 1.5a source tarball.
#
# See https://github.com/iortcw/iortcw/issues/24
#
patch -p0 < $CWD/patches/Makefile-SP-1.5a-remove-ref-to-git-index-file.patch
patch -p0 < $CWD/patches/Makefile-MP-1.5a-remove-ref-to-git-index-file.patch
# Reminder :
# * targets defined in SP/MP makefiles :
# debug, release, makedirs, clean-debug, clean-release
@ -284,12 +276,12 @@ cp -a README.md iortcw-command-changes.txt \
iortcw-cvars-new.txt iortcw-cvars-removed.txt rend2-cvars.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a SP/COPYING.txt SP/HOWTO-Build.txt SP/NOTTODO SP/README \
SP/README.txt SP/TODO SP/rend2-readme.md SP/voip-readme.txt \
cp -a SP/COPYING.txt SP/HOWTO-Build.txt SP/README \
SP/README.txt SP/rend2-readme.md SP/voip-readme.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/SP
cp -a MP/COPYING.txt MP/HOWTO-Build.txt MP/NOTTODO MP/README \
MP/README.txt MP/TODO MP/rend2-readme.md MP/voip-readme.txt \
cp -a MP/COPYING.txt MP/HOWTO-Build.txt MP/README \
MP/README.txt MP/rend2-readme.md MP/voip-readme.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/MP
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,13 +1,13 @@
PRGNAM="iortcw"
VERSION="1.5a"
VERSION="1.51"
HOMEPAGE="https://github.com/iortcw/iortcw"
DOWNLOAD="https://github.com/iortcw/iortcw/archive/1.5a/iortcw-1.5a.tar.gz \
https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-141.zip \
https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_deutsch.zip \
https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_espanol.zip \
https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_francais.zip \
https://github.com/iortcw/iortcw/releases/download/1.5a/patch-data-SP_italiano.zip"
MD5SUM="f7c1a383746c71357a9a663faa8d10dc \
DOWNLOAD="https://github.com/iortcw/iortcw/archive/1.51/iortcw-1.51.tar.gz \
https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-141.zip \
https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_deutsch.zip \
https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_espanol.zip \
https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_francais.zip \
https://github.com/iortcw/iortcw/releases/download/1.51/patch-data-SP_italiano.zip"
MD5SUM="052535d2aba4443f668651d1a0ba3772 \
291a37caa9d65d0b81f767918b76fa56 \
c377642e833307c34d7c995c8bf0c35d \
0d9705612393f0bc1875d15870811574 \

View file

@ -1,15 +0,0 @@
--- MP/Makefile.orig 2016-12-20 16:59:48.565402393 +0100
+++ MP/Makefile 2016-12-20 17:00:04.089401418 +0100
@@ -2692,9 +2692,9 @@
$(DO_DED_CC)
# Extra dependencies to ensure the git version is incorporated
- $(B)/client/cl_console.o : ../.git/index
- $(B)/client/common.o : ../.git/index
- $(B)/ded/common.o : ../.git/index
+# $(B)/client/cl_console.o : ../.git/index
+# $(B)/client/common.o : ../.git/index
+# $(B)/ded/common.o : ../.git/index
#############################################################################

View file

@ -1,15 +0,0 @@
--- SP/Makefile.orig 2016-12-20 17:00:31.739399680 +0100
+++ SP/Makefile 2016-12-20 17:01:21.544396550 +0100
@@ -2658,9 +2658,9 @@
$(DO_DED_CC)
# Extra dependencies to ensure the git version is incorporated
- $(B)/client/cl_console.o : ../.git/index
- $(B)/client/common.o : ../.git/index
- $(B)/ded/common.o : ../.git/index
+# $(B)/client/cl_console.o : ../.git/index
+# $(B)/client/common.o : ../.git/index
+# $(B)/ded/common.o : ../.git/index
#############################################################################