summaryrefslogtreecommitdiff
blob: 0d9078e4fbd4a1b2c73466850744f4e34c016a85 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/smbc/smbc-1.1.2.ebuild,v 1.2 2005/03/11 14:20:34 dholm Exp $

DESCRIPTION="A text mode (ncurses) SMB network commander. Features: resume and UTF-8"
HOMEPAGE="http://smbc.airm.net/en/index.php"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="nls debug"

DEPEND="sys-devel/gcc
	net-fs/samba
	>=sys-devel/automake-1.8
	sys-libs/ncurses
	dev-libs/popt
	nls? ( sys-devel/gettext )"
#----------------------------------------------------------------------------
src_compile() {
	local myconf=""
	use nls && myconf="${myconf} `use_enable nls`"
	use debug && myconf="${myconf} --with-debug"
	econf  ${myconf} || die "Configuration failed"
	einfo "Configuration: ${myconf}"
	emake || die "Make failed"
}
#----------------------------------------------------------------------------
src_install() {
	make DESTDIR=${D} install || die
}