summaryrefslogtreecommitdiff
blob: 796c3684c5d90f19de435ce9338dc7152bbb8a9b (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-2002 Gentoo Technologies, Inc.
# 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.6 2002/12/09 04:33:16 manson Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Gnome Samba Browser"
SRC_URI="http://gnomba.sourceforge.net/src/${P}.tar.gz"
HOMEPAGE="http://gnomba.sourceforge.net"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "
SLOT="0"

DEPEND="virtual/glibc
		gnome-libs"

RDEPEND="gnome-libs"

src_unpack () 
{
	unpack ${A}
	cd ${S}
}

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

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
}