blob: 25a34bcfe666e0830cdc8c5b1b48bc2e8a8435bc (
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
42
43
44
45
46
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/smbc/smbc-0.8.0.ebuild,v 1.2 2004/06/24 22:33:31 agriffis Exp $
inherit eutils
DESCRIPTION="Text mode SMB network commander"
HOMEPAGE="http://www.air.rzeszow.pl/smbc/smbc/en/"
SRC_URI="http://www.air.rzeszow.pl/${PN}/${PN}/${PV}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="nls debug"
DEPEND=">=samba-3.0.1
>=sys-devel/automake-1.8
dev-libs/popt
sys-libs/ncurses
nls? ( sys-devel/gettext )"
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
-e s:\/doc\/\":\/doc\/${PF}\/\": doc/Makefile.in \
|| die "Unpack failed"
}
src_compile() {
local myconf
use nls \
&& myconf="${myconf} `use_enable nls`" \
|| myconf="${myconf} `use_enable nls`"
use debug \
&& myconf="${myconf} `use_with debug`"
econf ${myconf} || die "Configuration failed"
emake || die "Make failed"
}
src_install() {
einstall || die "Install failed"
dodoc ChangeLog
prepalldocs
}
|