blob: acf784c1df047b5a2eabd546749be4d7dfb05b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils games waf-utils
DESCRIPTION="Tongue-in-cheek dungeon crawl game. Client and Server."
HOMEPAGE="http://lipsofsuna.org/"
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-db/sqlite:3
>=dev-lang/lua-5.1.0
media-libs/flac
>=media-libs/glew-1.5
>=media-libs/libsdl-1.2
media-libs/libvorbis
media-libs/libogg
media-libs/mesa
media-libs/openal
>=media-libs/sdl-ttf-2.0
>=net-libs/enet-1
>=net-misc/curl-3
sci-physics/bullet"
RDEPEND="${DEPEND}"
src_configure() {
waf-utils_src_configure \
--relpath=false --optimize=true \
--bindir="${GAMES_BINDIR}" \
--datadir="${GAMES_DATADIR}"
}
src_install() {
dogamesbin .build/${PN} || die "Installation of gamesbinary failed"
insinto "${GAMES_DATADIR}"/${PN}/
doins -r data/* || die "Installation of game data failed"
doicon misc/${PN}.svg || die "Installation of Icon failed"
domenu misc/${PN}.desktop || die "Installation of desktop file failed"
prepgamesdirs
}
|