# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" GAME="enemy-territory" MOD_DESC="a mod with realistic movement, weapon and scope simulation" MOD_NAME="CloseQuartersBattle" MOD_DIR="cqbtest" MOD_ICON="cqb_icon_pc.png" inherit games games-mods HOMEPAGE="http://www.truecombatelite.com" SRC_URI="http://www.truecombatelite.com/files/cqb_alpha022_win_linux.zip http://www.truecombatelite.com/files/cqb_alpha0223_win_linux_patch.zip" LICENSE="freedist" KEYWORDS="amd64 x86" IUSE="dedicated opengl" RDEPEND="x86? ( =virtual/libstdc++-3.3 ) amd64? ( app-emulation/emul-linux-x86-compat )" src_unpack() { unpack cqb_alpha022_win_linux.zip unpack cqb_alpha0223_win_linux_patch.zip cp "${FILESDIR}"/${MOD_ICON} ${MOD_DIR} } src_prepare() { make_desktop_entry ${PN} }