summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-26 18:31:59 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-26 18:31:59 +0000
commit5904487c2b342e6b48ab65e0b15eb1b8b98804fa (patch)
tree6940cc88f7d388df0dd1ab5686e6869bb1724226 /games-server
parentfix video options #28461 (diff)
downloadhistorical-5904487c2b342e6b48ab65e0b15eb1b8b98804fa.tar.gz
historical-5904487c2b342e6b48ab65e0b15eb1b8b98804fa.tar.bz2
historical-5904487c2b342e6b48ab65e0b15eb1b8b98804fa.zip
initial ebuild #29466
Diffstat (limited to 'games-server')
-rw-r--r--games-server/jediacademy-ded/ChangeLog8
-rw-r--r--games-server/jediacademy-ded/files/digest-jediacademy-ded-1.011
-rw-r--r--games-server/jediacademy-ded/files/jampded4
-rw-r--r--games-server/jediacademy-ded/jediacademy-ded-1.01.ebuild49
4 files changed, 62 insertions, 0 deletions
diff --git a/games-server/jediacademy-ded/ChangeLog b/games-server/jediacademy-ded/ChangeLog
new file mode 100644
index 000000000000..2671a13a4c88
--- /dev/null
+++ b/games-server/jediacademy-ded/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-server/jediacademy-ded
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/jediacademy-ded/ChangeLog,v 1.1 2003/09/26 18:31:58 vapier Exp $
+
+*jediacademy-ded-1.01 (26 Sep 2003)
+
+ 26 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Bryan Hoover <malketh@malkethius.net> #29466.
diff --git a/games-server/jediacademy-ded/files/digest-jediacademy-ded-1.01 b/games-server/jediacademy-ded/files/digest-jediacademy-ded-1.01
new file mode 100644
index 000000000000..b78963ba8c98
--- /dev/null
+++ b/games-server/jediacademy-ded/files/digest-jediacademy-ded-1.01
@@ -0,0 +1 @@
+MD5 e415e4dfe7520ff28f5010195fd7c671 jalinuxded_1.0.zip 1396331
diff --git a/games-server/jediacademy-ded/files/jampded b/games-server/jediacademy-ded/files/jampded
new file mode 100644
index 000000000000..b8510d3106ea
--- /dev/null
+++ b/games-server/jediacademy-ded/files/jampded
@@ -0,0 +1,4 @@
+#!/bin/sh
+cd GENTOO_DIR
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:GENTOO_DIR"
+exec ./linuxjampded "$@"
diff --git a/games-server/jediacademy-ded/jediacademy-ded-1.01.ebuild b/games-server/jediacademy-ded/jediacademy-ded-1.01.ebuild
new file mode 100644
index 000000000000..469a62fde559
--- /dev/null
+++ b/games-server/jediacademy-ded/jediacademy-ded-1.01.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/jediacademy-ded/jediacademy-ded-1.01.ebuild,v 1.1 2003/09/26 18:31:58 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Jedi Academy Linux Dedicated Server"
+HOMEPAGE="http://www.lucasarts.com/products/jediacademy/"
+SRC_URI="jalinuxded_1.0.zip"
+
+LICENSE="jedioutcast-ded"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${A} from"
+ einfo "http://www.filefront.com/r.b/page__file_info/_filepath__/pub2/Jedi_Knight_Jedi_Academy/Official_Files/Servers/jalinuxded_1.0.zip/_clear__page,filepath/_output.html"
+ einfo "and put into ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ edos2unix readme.txt "server options.txt" server.cfg
+ rm "Disclaimer-Jedi Academy Dedicated Server.rtf"
+ chmod go-w *
+ chmod a+x jampgamei386.so libcxa.so.1 linuxjampded
+ mkdir base
+ mv server.cfg base/jampserver.cfg
+ mv jampgamei386.so base/
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+ cp -r * ${D}/${dir}/
+ dogamesbin ${FILESDIR}/jampded
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/jampded
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ ewarn "NOTE: You must copy over the .pak files from a previously"
+ ewarn " installed and patched windows installation for this"
+ ewarn " to run properly."
+}