1 |
# Copyright 1999-2004 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/xfsamba/xfsamba-0.47.ebuild,v 1.12 2004/07/14 06:37:01 mr_bones_ Exp $ |
4 |
|
5 |
DESCRIPTION="A GUI SMB network navigator" |
6 |
HOMEPAGE="http://xfsamba.sourceforge.net/" |
7 |
SRC_URI="http://xfsamba.sourceforge.net/archive/${P}.tar.gz" |
8 |
|
9 |
LICENSE="GPL-2" |
10 |
SLOT="0" |
11 |
KEYWORDS="x86 ppc sparc ~amd64" |
12 |
IUSE="nls" |
13 |
|
14 |
DEPEND="=dev-libs/glib-1.2* |
15 |
=x11-libs/gtk+-1.2* |
16 |
nls? ( sys-devel/gettext )" |
17 |
RDEPEND=">=net-fs/samba-2.2.4" |
18 |
|
19 |
src_compile() { |
20 |
local myconf |
21 |
use nls || myconf="--disable-nls" |
22 |
|
23 |
./configure ${myconf} \ |
24 |
--prefix=/usr \ |
25 |
--infodir=/usr/share/info \ |
26 |
--mandir=/usr/share/man \ |
27 |
--disable-gtktest \ |
28 |
--disable-glibtest || die "./configure failed" |
29 |
|
30 |
emake || die |
31 |
} |
32 |
|
33 |
src_install () { |
34 |
make DESTDIR=${D} install || die "install failed" |
35 |
} |