summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-server/mtavc/ChangeLog22
-rw-r--r--games-server/mtavc/Manifest4
-rw-r--r--games-server/mtavc/files/digest-mtavc-0.2.01
-rw-r--r--games-server/mtavc/files/mtavc3
-rw-r--r--games-server/mtavc/mtavc-0.2.0.ebuild48
5 files changed, 78 insertions, 0 deletions
diff --git a/games-server/mtavc/ChangeLog b/games-server/mtavc/ChangeLog
new file mode 100644
index 000000000000..8417de225714
--- /dev/null
+++ b/games-server/mtavc/ChangeLog
@@ -0,0 +1,22 @@
+# ChangeLog for games-fps/mtavc
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/ChangeLog,v 1.1 2003/09/21 04:33:33 vapier Exp $
+
+*mtavc-0.2.0 (21 Sep 2003)
+
+ 21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage + rework install slightly.
+
+*mtavc-0.1.0 (02 Sep 2003)
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild:
+ DEPEND on sys-libs/lib-compat
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild:
+ Is linked against glibc-2.2. I feel so sorry for people who only distribute
+ binaries.
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild,
+ files/mtavc:
+ initial commit (bug 25872)
+
diff --git a/games-server/mtavc/Manifest b/games-server/mtavc/Manifest
new file mode 100644
index 000000000000..616e83a2c920
--- /dev/null
+++ b/games-server/mtavc/Manifest
@@ -0,0 +1,4 @@
+MD5 da20cd187edbb97067dd6da435e231fd ChangeLog 631
+MD5 baa230a093a41321a328bd420c4949f7 mtavc-0.2.0.ebuild 788
+MD5 5ca2d00ab437a86bbc53b829fccd760f files/mtavc 46
+MD5 39031ac740f345f047be4996f9326fc9 files/digest-mtavc-0.2.0 72
diff --git a/games-server/mtavc/files/digest-mtavc-0.2.0 b/games-server/mtavc/files/digest-mtavc-0.2.0
new file mode 100644
index 000000000000..02de40c5de7d
--- /dev/null
+++ b/games-server/mtavc/files/digest-mtavc-0.2.0
@@ -0,0 +1 @@
+MD5 2a10d40273ddb34c1e8ce79a1bc8bb8d MTAServer-Linux-0.2.0.tar.gz 69107
diff --git a/games-server/mtavc/files/mtavc b/games-server/mtavc/files/mtavc
new file mode 100644
index 000000000000..00b76f9d6f18
--- /dev/null
+++ b/games-server/mtavc/files/mtavc
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./MTAServer "$@"
diff --git a/games-server/mtavc/mtavc-0.2.0.ebuild b/games-server/mtavc/mtavc-0.2.0.ebuild
new file mode 100644
index 000000000000..de334e327552
--- /dev/null
+++ b/games-server/mtavc/mtavc-0.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/mtavc/mtavc-0.2.0.ebuild,v 1.1 2003/09/21 04:33:33 vapier Exp $
+
+inherit games eutils
+
+S=${WORKDIR}
+DESCRIPTION="A server for a multi-player mod for GTA3"
+HOMEPAGE="http://mtavc.com/"
+SRC_URI="MTAServer-Linux-${PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+RESTRICT="fetch"
+
+DEPEND="virtual/glibc
+ sys-libs/lib-compat"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from"
+ einfo "${HOMEPAGE}downloads.php?file_id=33"
+ einfo "and put it in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ edos2unix mtaserver.conf
+ sed -i 's:NoName:Gentoo:' mtaserver.conf
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ dogamesbin ${FILESDIR}/mtavc
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/mtavc
+
+ exeinto ${dir}
+ doexe MTAServer
+ insinto ${dir}
+ doins banned.lst mtaserver.conf motd.txt
+ insinto ${GAMES_SYSCONFDIR}
+ doins mtaserver.conf
+ dosym ${GAMES_SYSCONFDIR}/mtaserver.conf ${dir}/mtaserver.conf
+
+ dodoc readme.txt
+ prepgamesdirs
+}