All pastes #295513 Raw Edit

Divers

public text v1 · immutable
#295513 ·published 2006-12-29 13:47 UTC
rendered paste body
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-250.ebuild,v 1.15 2006/12/14 13:09:25 wolf31o2 Exp $
    
inherit eutils games 

DED_PV="0.2"
DED_FILE="${PN}-all-${DED_PV}.tar.bz2"
MY_P="armyops${PV}-linux.run"

DESCRIPTION="military simulations by the U.S. Army to provide civilians with insights on soldiering"
HOMEPAGE="http://www.americasarmy.com/"
SRC_URI="mirror://3dgamers/${PN/-/}/${MY_P}
    dedicated? (
        http://dev.gentoo.org/~wolf31o2/sources/dump/${DED_FILE}
        mirror://gentoo/${DED_FILE} )"
    
LICENSE="Army-EULA"
SLOT="0"
KEYWORDS="amd64 x86"
RESTRICT="mirror strip"
IUSE="dedicated opengl"
    
UIDEPEND="virtual/opengl
        amd64? (
            app-emulation/emul-linux-x86-xlibs
            || (
                >=app-emulation/emul-linux-x86-xlibs-7.0
                || (
                     x11-drivers/nvidia-drivers
                     x11-drivers/nvidia-legacy-drivers )
                >=x11-drivers/ati-drivers-8.8.25-r1 ) )
        x86? (
            x11-libs/libXext
            x11-libs/libX11 )"
RDEPEND="sys-libs/glibc
    opengl? ( ${UIDEPEND} )
    !opengl? ( !dedicated? ( ${UIDEPEND} ) )
    amd64? ( app-emulation/emul-linux-x86-compat )
    x86? ( =virtual/libstdc++-3.3 )"

S=${WORKDIR}
    
pkg_setup() {
    games_pkg_setup
    einfo "The installed game takes about 1.6GB of space when installed and"
    einfo "2.4GB of space in ${PORTAGE_TMPDIR} to build!"
    echo
}