blob: 3b0c9ac1a8cbda58d0f13e23d95c6827d2aa3278 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/adonthell/adonthell-0.3.3-r1.ebuild,v 1.5 2004/06/03 18:43:14 jhuebel Exp $
inherit games
DESCRIPTION="roleplaying game engine"
HOMEPAGE="http://adonthell.linuxgames.com/"
SRC_URI="http://savannah.nongnu.org/download/adonthell/${PN}-src-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~amd64"
IUSE="oggvorbis gtk nls doc"
DEPEND="dev-lang/python
media-libs/libsdl
oggvorbis? ( media-libs/libvorbis
media-libs/libogg )
sys-libs/zlib
gtk? ( =x11-libs/gtk+-1* )
doc? ( app-doc/doxygen )"
src_compile() {
egamesconf \
`use_enable nls` \
`use_enable doc` \
--with-gnu-ld \
|| die
touch doc/items/{footer,header}.html
emake || die
}
src_install() {
emake install DESTDIR=${D} || die
dodoc README AUTHORS ChangeLog FULLSCREEN.howto NEWBIE NEWS
prepgamesdirs
}
|