# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit cmake-utils games mercurial DESCRIPTION="a cross platform 3d action adventure" HOMEPAGE="http://www.wolfire.com/lugaru" SRC_URI="" EHG_REPO_URI="http://hg.icculus.org/icculus/lugaru" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="" DEPEND="media-libs/openal media-libs/libpng media-libs/jpeg media-libs/libsdl virtual/opengl media-libs/libvorbis media-libs/libogg" RDEPEND="${DEPEND} games-action/lugaru-data" S="${WORKDIR}"/${PN} pkg_setup() { mycmakeargs="-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX_OPT}/${PN}" } src_configure() { cmake-utils_src_configure } src_compile() { cmake-utils_src_compile } src_install() { cmake-utils_src_install rm -rf "${D}"/opt/lugaru/Data games_make_wrapper lugaru ./lugaru "${GAMES_PREFIX_OPT}/${PN}" "${GAMES_PREFIX_OPT}/${PN}" make_desktop_entry lugaru "Lugaru: The Rabbit's Foot" }