# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit cmake-utils games MY_P="flare_linux_v017_1" DESCRIPTION="Free/Libre Action Roleplaying game" HOMEPAGE="https://github.com/clintbellanger/flare-game" SRC_URI="mirror://github/clintbellanger/flare-game/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=" !games-engines/flare media-libs/libsdl[X,audio,joystick,video] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] media-libs/sdl-ttf" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P/linux_/} src_configure() { local mycmakeargs=( -DBINDIR="${GAMES_BINDIR}" -DDATADIR="${GAMES_DATADIR}/${PN}" ) cmake-utils_src_configure } src_compile() { cmake-utils_src_compile } src_install() { cmake-utils_src_install dodoc README prepgamesdirs }