summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-02-25 01:55:38 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-02-25 01:55:38 +0000
commit0a9500b2a227a8d3fd954882893132841de44d57 (patch)
treec8e65ade6e0a098fe46e1158b99d7bc4469b79f6 /games-fps
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-0a9500b2a227a8d3fd954882893132841de44d57.tar.gz
gentoo-2-0a9500b2a227a8d3fd954882893132841de44d57.tar.bz2
gentoo-2-0a9500b2a227a8d3fd954882893132841de44d57.zip
Version bumped and closing bug #82516.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/americas-army/ChangeLog8
-rw-r--r--games-fps/americas-army/americas-army-230.ebuild83
-rw-r--r--games-fps/americas-army/files/digest-americas-army-2301
3 files changed, 91 insertions, 1 deletions
diff --git a/games-fps/americas-army/ChangeLog b/games-fps/americas-army/ChangeLog
index 187aac1f4b30..255874de8380 100644
--- a/games-fps/americas-army/ChangeLog
+++ b/games-fps/americas-army/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/americas-army
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.27 2005/02/12 18:11:16 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.28 2005/02/25 01:55:38 wolf31o2 Exp $
+
+*americas-army-230 (24 Feb 2005)
+
+ 24 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ +americas-army-230.ebuild:
+ Version bumped and closing bug #82516.
*americas-army-221-r1 (12 Feb 2005)
diff --git a/games-fps/americas-army/americas-army-230.ebuild b/games-fps/americas-army/americas-army-230.ebuild
new file mode 100644
index 000000000000..4eaa697da228
--- /dev/null
+++ b/games-fps/americas-army/americas-army-230.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-230.ebuild,v 1.1 2005/02/25 01:55:38 wolf31o2 Exp $
+
+inherit games
+
+MY_P="armyops${PV}-linux.run"
+DESCRIPTION="America's Army: Operations - military simulations by the U.S. Army to provide civilians with insights on soldiering"
+HOMEPAGE="http://www.americasarmy.com/"
+SRC_URI="mirror://3dgamers/pub/3dgamers/games/${PN/-/}/${MY_P}"
+
+LICENSE="Army-EULA"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+RESTRICT="nostrip nomirror"
+
+IUSE="opengl dedicated"
+
+DEPEND="virtual/libc
+ app-arch/unzip"
+RDEPEND="virtual/libc
+ opengl? ( virtual/opengl )
+ amd64? ( app-emulation/emul-linux-x86-xlibs
+ || ( >=media-video/nvidia-glx-1.0.6629-r3
+ >=media-video/ati-drivers-8.8.25-r1
+ app-emulation/emul-linux-x86-nvidia ) )
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ games_pkg_setup
+ ewarn "The installed game takes about 1.6GB of space when installed and 2.4GB of space in ${PORTAGE_TMPDIR} to build!"
+}
+
+src_unpack() {
+ unpack_makeself ${DISTDIR}/${MY_P} || die "unpacking game"
+ tar -zxf setupstuff.tar.gz || die
+}
+
+src_install() {
+ einfo "This will take a while ... go get a pizza or something"
+
+ dodir ${dir}
+
+ tar -jxf armyops${PV}.tar.bz2 -C ${Ddir}/ || die "armyops untar failed"
+ tar -jxf binaries.tar.bz2 -C ${Ddir}/ || die "binaries untar failed"
+
+ dodoc README.linux
+ insinto ${dir}
+ doins ArmyOps.xpm README.linux ArmyOps${PV}_EULA.txt || die "doins failed"
+ insinto /usr/share/pixmaps
+ doins ArmyOps.xpm || die "doins failed"
+ exeinto ${dir}
+ doexe bin/armyops || die "doexe failed"
+
+ if use dedicated; then
+ exeinto /etc/init.d ; newexe ${FILESDIR}/armyops-ded.init armyops-ded
+ insinto /etc/conf.d ; newins ${FILESDIR}/armyops-ded.conf armyops-ded
+ games_make_wrapper armyops-ded ./server-bin ${dir}/System
+ fi
+
+ games_make_wrapper armyops ./armyops ${dir}
+
+ prepgamesdirs
+ make_desktop_entry armyops "America's Army" ArmyOps.xpm
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use dedicated; then
+ einfo "To start a dedicated server, run"
+ einfo " /etc/init.d/armyops-ded start"
+ echo
+ fi
+ if use opengl; then
+ einfo "To play the game run:"
+ einfo " armyops"
+ echo
+ fi
+}
diff --git a/games-fps/americas-army/files/digest-americas-army-230 b/games-fps/americas-army/files/digest-americas-army-230
new file mode 100644
index 000000000000..0a90c036f6c3
--- /dev/null
+++ b/games-fps/americas-army/files/digest-americas-army-230
@@ -0,0 +1 @@
+MD5 a0df99cc9933120905f2de51f2ad613b armyops230-linux.run 781095534