summaryrefslogtreecommitdiff
blob: 0bfbd34641755249b233883d16dbc75b6e60b96f (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gnomba/gnomba-0.6.2.ebuild,v 1.12 2004/07/01 21:02:53 squinky86 Exp $

DESCRIPTION="Gnome Samba Browser"
HOMEPAGE="http://gnomba.sourceforge.net"
SRC_URI="http://gnomba.sourceforge.net/src/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc"
IUSE="nls"

RDEPEND="gnome-base/gnome-libs"
DEPEND="${RDEPEND}
	virtual/libc"

src_compile() {
	./configure \
		$(use_enable nls) \
		--prefix=/usr \
		--host=${CHOST} \
		--mandir=/usr/share/man || die "configure failed"
	emake || die "emake failed"
}

src_install() {
	#remove control chars from desktop file
	mv gnomba.desktop gnomba.desktop.bad
	tr -d '\015' < gnomba.desktop.bad > gnomba.desktop
	make prefix=${D}/usr \
		mandir=${D}/usr/share/man \
		install || die "make install failed"

}