summaryrefslogtreecommitdiff
blob: bdf82399a3347185bf24feed35d2bcee60235aa4 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/xqf/xqf-0.9.13.ebuild,v 1.2 2003/11/29 21:07:53 vapier Exp $

inherit games

DESCRIPTION="A server browser for many FPS games (frontend for qstat)"
HOMEPAGE="http://www.linuxgames.com/xqf/"
SRC_URI="mirror://sourceforge/xqf/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE="nls geoip gtk2"

DEPEND=">=games-util/qstat-25
	gtk2? ( =x11-libs/gtk+-2* ) : ( =x11-libs/gtk+-1* )
	geoip? ( dev-libs/geoip )
	sys-devel/libtool
	app-arch/bzip2
	media-libs/gdk-pixbuf"
RDEPEND="${DEPEND}
	nls? ( sys-devel/gettext )"

src_compile() {
	egamesconf \
		`use_enable gtk2` \
		`use_enable nls` \
		`use_enable geoip` \
		--enable-bzip2 \
		|| die
	emake || die "emake failed"
}

src_install() {
	egamesinstall || die
	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
	prepgamesdirs
}