summaryrefslogtreecommitdiff
blob: dbffdc6fe5fd92883be8d6ca042282a970f74435 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnapster/gnapster-1.5.0-r2.ebuild,v 1.16 2007/01/10 10:06:05 armin76 Exp $

IUSE="nls"

DESCRIPTION="A napster client for GTK/GNOME"
SRC_URI="mirror://sourceforge/gnapster/${P}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/gnapster/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc amd64"

DEPEND="=x11-libs/gtk+-1.2*"

src_compile() {
	local myconf

	myconf="${myconf} --disable-gnome"
	myconf="${myconf} --disable-gdk-pixbuf --disable-gtktest"

	econf \
	$(use_enable nls) \
	${myconf} || die "econf failed"

	emake || die "emake failed"
}

src_install () {
	emake DESTDIR="${D}" install || die "emake install failed"

	dodoc AUTHORS COPYING README* TODO NEWS
}