From 47acba223273c7f3825975db964042e24a7e4dea Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 2 Jun 2004 00:58:43 +0000 Subject: Adding America's Army 2.1.0 to portage... Hooah! --- games-fps/americas-army/ChangeLog | 8 ++- games-fps/americas-army/Manifest | 4 +- games-fps/americas-army/americas-army-210.ebuild | 69 ++++++++++++++++++++++ .../americas-army/files/digest-americas-army-210 | 1 + 4 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 games-fps/americas-army/americas-army-210.ebuild create mode 100644 games-fps/americas-army/files/digest-americas-army-210 (limited to 'games-fps') diff --git a/games-fps/americas-army/ChangeLog b/games-fps/americas-army/ChangeLog index cd1ba0bca967..e3df3a5a389f 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-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.14 2004/04/19 15:40:59 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.15 2004/06/02 00:58:43 wolf31o2 Exp $ + +*americas-army-210 (01 Jun 2004) + + 01 Jun 2004; Chris Gianelloni + +americas-army-210.ebuild: + Adding America's Army 2.1.0 to portage... Hooah! 19 Apr 2004; Chris Gianelloni americas-army-200a-r1.ebuild: diff --git a/games-fps/americas-army/Manifest b/games-fps/americas-army/Manifest index 3bd975f45171..eae492940d4d 100644 --- a/games-fps/americas-army/Manifest +++ b/games-fps/americas-army/Manifest @@ -1,5 +1,7 @@ MD5 f603868b3731605e69bb0017cf6385f6 americas-army-200a-r1.ebuild 2755 -MD5 6834769df382eae0c0aa93526cc58731 ChangeLog 3487 +MD5 99b7d2da1705439eec4989d2d07e37a6 americas-army-210.ebuild 2083 +MD5 81b02c310ef32ffdabeda26265d3cf67 ChangeLog 3656 MD5 f1a9a44e85e58296a3710c291666ab78 metadata.xml 672 MD5 b0fb91ec8cf83a374f619b0d76119d9c files/digest-americas-army-200a-r1 130 MD5 ecd9684b31f56c72a9554791fee4f77c files/armyops 40 +MD5 8094280c1969e5f8784d7c8d1a3b7611 files/digest-americas-army-210 68 diff --git a/games-fps/americas-army/americas-army-210.ebuild b/games-fps/americas-army/americas-army-210.ebuild new file mode 100644 index 000000000000..6692db690641 --- /dev/null +++ b/games-fps/americas-army/americas-army-210.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-210.ebuild,v 1.1 2004/06/02 00:58:43 wolf31o2 Exp $ + +inherit games + +MY_P="armyops210-linux.bin" +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="ftp://3dgamers.in-span.net/pub/3dgamers5/games/${PN/-/}/${MY_P} + http://3dgamers.reliableservers.net/pub/3dgamers/games/${PN/-/}/${MY_P} + http://3dgamers.gameservers.net/pub/3dgamers/games/${PN/-/}/${MY_P} + http://3dgamers.planetmirror.com/pub/3dgamers/games/${PN/-/}/${MY_P}" + +LICENSE="Army-EULA" +SLOT="0" +KEYWORDS="x86" +RESTRICT="nostrip nomirror" + +# dedicated is unused at this time until I can find some good generic dedicated +# server scripts to include. +IUSE="opengl dedicated" + +DEPEND="virtual/glibc + app-arch/unzip" +RDEPEND="virtual/glibc + opengl? ( virtual/opengl )" + +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 armyops210.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 ArmyOps210_EULA.txt + insinto /usr/share/pixmaps ; doins ArmyOps.xpm + exeinto ${dir} ; doexe bin/armyops + + dogamesbin ${FILESDIR}/armyops + dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/armyops + dosym ${dir}/armyops ${GAMES_BINDIR}/armyops + + prepgamesdirs + make_desktop_entry armyops "America's Army" ArmyOps.xpm +} + +pkg_postinst() { + games_pkg_postinst + einfo "To play the game run:" + einfo " armyops" + echo +} diff --git a/games-fps/americas-army/files/digest-americas-army-210 b/games-fps/americas-army/files/digest-americas-army-210 new file mode 100644 index 000000000000..d74516ca06d2 --- /dev/null +++ b/games-fps/americas-army/files/digest-americas-army-210 @@ -0,0 +1 @@ +MD5 8de56d55935ada8327578f3596e7b889 armyops210-linux.bin 764342622 -- cgit v1.2.3-65-gdbad