blob: 04caa4a81074769c66084c024b26dbe4748641d3 (
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
40
41
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/smbc/smbc-1.2.2-r2.ebuild,v 1.1 2009/05/22 15:58:28 jer Exp $
EAPI="2"
inherit autotools
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="~hppa ~ppc ~x86"
IUSE="nls debug"
DEPEND="net-fs/samba
sys-libs/ncurses
dev-libs/popt
nls? ( sys-devel/gettext )"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-cflags.patch
epatch "${FILESDIR}"/${P}-size_t.patch
eautoreconf
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with debug) \
|| die "econf failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
mkdir -p "${D}/usr/share/doc"
mv -v "${D}/usr/share/"{${PN},doc/${PF}}
}
|