summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-05 04:29:01 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-05 04:29:01 +0000
commit3a502d771bea6462c8a26cb6d1b13b89e5525326 (patch)
tree15ed7b1653b01c33adf3ae80961b8d5908501b08 /games-fps/doom3/files
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-3a502d771bea6462c8a26cb6d1b13b89e5525326.tar.gz
gentoo-2-3a502d771bea6462c8a26cb6d1b13b89e5525326.tar.bz2
gentoo-2-3a502d771bea6462c8a26cb6d1b13b89e5525326.zip
initial ebuild #57067
Diffstat (limited to 'games-fps/doom3/files')
-rw-r--r--games-fps/doom3/files/digest-doom3-1.1.12821
-rw-r--r--games-fps/doom3/files/doom321
2 files changed, 22 insertions, 0 deletions
diff --git a/games-fps/doom3/files/digest-doom3-1.1.1282 b/games-fps/doom3/files/digest-doom3-1.1.1282
new file mode 100644
index 000000000000..2a3a786a50ca
--- /dev/null
+++ b/games-fps/doom3/files/digest-doom3-1.1.1282
@@ -0,0 +1 @@
+MD5 342bb266010e610226b254605903230e doom3-linux-1.1.1282.x86.run 7620643
diff --git a/games-fps/doom3/files/doom3 b/games-fps/doom3/files/doom3
new file mode 100644
index 000000000000..c15b108352f1
--- /dev/null
+++ b/games-fps/doom3/files/doom3
@@ -0,0 +1,21 @@
+#!/bin/bash
+cd "DIR"
+
+cd_check_file() {
+ local n="$1"
+ local cdrom="$2"
+
+ if [ ! -e "base/pak00${n}.pk4" ] ; then
+ echo "Please copy pak00${n}.pk4 from the DOOM3 CD #${cdrom}"
+ echo "to DIR/base/ and try again!"
+ exit 1
+ fi
+}
+cd_check_file 0 2
+cd_check_file 1 2
+cd_check_file 2 1
+cd_check_file 3 3
+cd_check_file 4 3
+
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:."
+exec ./EXE "$@"