1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils games waf-utils
8 DESCRIPTION="Tongue-in-cheek dungeon crawl game. Client and Server."
9 HOMEPAGE="http://lipsofsuna.org/"
10 SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="dev-db/sqlite:3
21 >=media-libs/libsdl-1.2
26 >=media-libs/sdl-ttf-2.0
33 waf-utils_src_configure \
34 --relpath=false --optimize=true \
35 --bindir="${GAMES_BINDIR}" \
36 --datadir="${GAMES_DATADIR}"
40 dogamesbin .build/${PN} || die "Installation of gamesbinary failed"
41 insinto "${GAMES_DATADIR}"/${PN}/
42 doins -r data/* || die "Installation of game data failed"
43 doicon misc/${PN}.svg || die "Installation of Icon failed"
44 domenu misc/${PN}.desktop || die "Installation of desktop file failed"