summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-02 04:58:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-02 04:58:32 +0000
commite0f0687692eb07ea5114cd838cf881d9288f4a6f (patch)
tree9452160698cecc3b208bb15ca6069a53bf2e5f37 /games-server/mtavc/mtavc-0.3.ebuild
parentfix DEPEND #36481 (diff)
downloadgentoo-2-e0f0687692eb07ea5114cd838cf881d9288f4a6f.tar.gz
gentoo-2-e0f0687692eb07ea5114cd838cf881d9288f4a6f.tar.bz2
gentoo-2-e0f0687692eb07ea5114cd838cf881d9288f4a6f.zip
ver bump
Diffstat (limited to 'games-server/mtavc/mtavc-0.3.ebuild')
-rw-r--r--games-server/mtavc/mtavc-0.3.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/games-server/mtavc/mtavc-0.3.ebuild b/games-server/mtavc/mtavc-0.3.ebuild
new file mode 100644
index 000000000000..77471c0943fa
--- /dev/null
+++ b/games-server/mtavc/mtavc-0.3.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/mtavc/mtavc-0.3.ebuild,v 1.1 2004/01/02 04:58:32 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A server for a multi-player mod for GTA3: Vice City"
+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-1.2-r1"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${A} from"
+ einfo "${HOMEPAGE}downloads.php?file_id=57"
+ einfo "and put it in ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ 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}
+ newexe MTAServer${PV} MTAServer
+ insinto ${GAMES_SYSCONFDIR}/${PN}
+ local files="banned.lst mtaserver.conf motd.txt"
+ doins ${files}
+ for f in ${files} ; do
+ dosym ${GAMES_SYSCONFDIR}/${PN}/${f} ${dir}/${f}
+ done
+
+ dodoc CHANGELOG README
+ prepgamesdirs
+}