summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-21 04:46:51 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-21 04:46:51 +0000
commit9addac530fe490a505cd4d4d2efb1d982fd34304 (patch)
tree3ec60ecc3509365c0567fbbadb6ff0066141a8d0 /games-server
parentmove config files to /etc/games (diff)
downloadhistorical-9addac530fe490a505cd4d4d2efb1d982fd34304.tar.gz
historical-9addac530fe490a505cd4d4d2efb1d982fd34304.tar.bz2
historical-9addac530fe490a505cd4d4d2efb1d982fd34304.zip
initial ebuild
Diffstat (limited to 'games-server')
-rw-r--r--games-server/gta3mta/ChangeLog8
-rw-r--r--games-server/gta3mta/Manifest2
-rw-r--r--games-server/gta3mta/files/digest-gta3mta-0.3b1
-rw-r--r--games-server/gta3mta/files/gta3mta3
-rw-r--r--games-server/gta3mta/gta3mta-0.3b.ebuild48
5 files changed, 62 insertions, 0 deletions
diff --git a/games-server/gta3mta/ChangeLog b/games-server/gta3mta/ChangeLog
new file mode 100644
index 000000000000..828d713cedc3
--- /dev/null
+++ b/games-server/gta3mta/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-server/gta3mta
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/gta3mta/ChangeLog,v 1.1 2003/09/21 04:46:51 vapier Exp $
+
+*gta3mta-0.3b (21 Sep 2003)
+
+ 21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-server/gta3mta/Manifest b/games-server/gta3mta/Manifest
new file mode 100644
index 000000000000..ca5e02d97433
--- /dev/null
+++ b/games-server/gta3mta/Manifest
@@ -0,0 +1,2 @@
+MD5 a3c7a200c2f3c5ee2443d8835d97a54e gta3mta-0.3b.ebuild 551
+MD5 e7d1eb35ab013b41eee4eaf296deee19 files/digest-gta3mta-0.3b 59
diff --git a/games-server/gta3mta/files/digest-gta3mta-0.3b b/games-server/gta3mta/files/digest-gta3mta-0.3b
new file mode 100644
index 000000000000..7e57ada86011
--- /dev/null
+++ b/games-server/gta3mta/files/digest-gta3mta-0.3b
@@ -0,0 +1 @@
+MD5 48afa6850f82258645ed8df682f591cd dedlinux.tar.gz 13935
diff --git a/games-server/gta3mta/files/gta3mta b/games-server/gta3mta/files/gta3mta
new file mode 100644
index 000000000000..00b76f9d6f18
--- /dev/null
+++ b/games-server/gta3mta/files/gta3mta
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./MTAServer "$@"
diff --git a/games-server/gta3mta/gta3mta-0.3b.ebuild b/games-server/gta3mta/gta3mta-0.3b.ebuild
new file mode 100644
index 000000000000..7db313932971
--- /dev/null
+++ b/games-server/gta3mta/gta3mta-0.3b.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/gta3mta/gta3mta-0.3b.ebuild,v 1.1 2003/09/21 04:46:51 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="dedicated server for GTA3 multiplayer"
+HOMEPAGE="http://mtavc.com/"
+SRC_URI="dedlinux.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+RESTRICT="fetch"
+
+DEPEND="virtual/glibc
+ sys-libs/lib-compat"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${A} from"
+ einfo "${HOMEPAGE}downloads.php?file_id=12"
+ einfo "and put it in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ edos2unix server.cfg
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ dogamesbin ${FILESDIR}/gta3mta
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/gta3mta
+
+ exeinto ${dir}
+ doexe MTAServer
+ insinto ${GAMES_SYSCONFDIR}/${PN}
+ local files="banned.lst server.cfg"
+ doins ${files}
+ for f in ${files} ; do
+ dosym ${GAMES_SYSCONFDIR}/${PN}/${f} ${dir}/${f}
+ done
+
+ prepgamesdirs
+}