summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-28 20:48:20 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-28 20:48:20 +0000
commit6f8a8716f72d88095a6088d8a94331209d6db68e (patch)
treef61684ce2bf3dbfffa74f10fd01d37c0dc502d4a /games-server/bf1942-lnxded
parentVersion bump, marked stable, added patch. (diff)
downloadgentoo-2-6f8a8716f72d88095a6088d8a94331209d6db68e.tar.gz
gentoo-2-6f8a8716f72d88095a6088d8a94331209d6db68e.tar.bz2
gentoo-2-6f8a8716f72d88095a6088d8a94331209d6db68e.zip
initial ebuild #33068
Diffstat (limited to 'games-server/bf1942-lnxded')
-rw-r--r--games-server/bf1942-lnxded/ChangeLog8
-rw-r--r--games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild37
-rw-r--r--games-server/bf1942-lnxded/files/bf1942-lnxded3
-rw-r--r--games-server/bf1942-lnxded/files/digest-bf1942-lnxded-1.51
4 files changed, 49 insertions, 0 deletions
diff --git a/games-server/bf1942-lnxded/ChangeLog b/games-server/bf1942-lnxded/ChangeLog
new file mode 100644
index 000000000000..889ca7f6d127
--- /dev/null
+++ b/games-server/bf1942-lnxded/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-server/bf1942-lnxded
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/ChangeLog,v 1.1 2003/12/28 20:48:20 vapier Exp $
+
+*bf1942-lnxded-1.5 (28 Dec 2003)
+
+ 28 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #33068.
diff --git a/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild b/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild
new file mode 100644
index 000000000000..1689191bc913
--- /dev/null
+++ b/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild,v 1.1 2003/12/28 20:48:20 vapier Exp $
+
+inherit games
+
+DESCRIPTION="dedicated server for Battlefield 1942"
+HOMEPAGE="http://www.eagames.com/official/battlefield/1942/us/editorial/serveradminfaq.jsp"
+SRC_URI="bf1942_lnxded-${PV}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="fetch"
+
+RDEPEND="virtual/glibc
+ sys-devel/gcc"
+
+S=${WORKDIR}/bf1942
+
+pkg_nofetch() {
+ einfo "Please download ${A} from"
+ einfo "http://www.3dgamers.com/dl/games/battlefield1942/bf1942_lnxded-${PV}.tar.bz2.html"
+ einfo "and put it in ${DISTDIR}"
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/bf1942
+ dodir ${dir}
+
+ mv * ${D}/${dir}/
+ dosym bf1942_lnxded.dynamic ${dir}/bf1942_lnxded
+ dogamesbin ${FILESDIR}/bf1942-lnxded
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/bf1942-lnxded
+
+ prepgamesdirs
+}
diff --git a/games-server/bf1942-lnxded/files/bf1942-lnxded b/games-server/bf1942-lnxded/files/bf1942-lnxded
new file mode 100644
index 000000000000..256199b8b8be
--- /dev/null
+++ b/games-server/bf1942-lnxded/files/bf1942-lnxded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./bf1942_lnxded "$@"
diff --git a/games-server/bf1942-lnxded/files/digest-bf1942-lnxded-1.5 b/games-server/bf1942-lnxded/files/digest-bf1942-lnxded-1.5
new file mode 100644
index 000000000000..e3dd2fb3895d
--- /dev/null
+++ b/games-server/bf1942-lnxded/files/digest-bf1942-lnxded-1.5
@@ -0,0 +1 @@
+MD5 fa63e857dc93f7daa970598d04c70975 bf1942_lnxded-1.5.tar.bz2 95587530