blob: 0e44e17cb17c3324a9fe72ecb63d7de0726a9688 (
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
47
48
49
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftp/ftp-0.17-r7.ebuild,v 1.10 2012/09/29 16:41:57 ulm Exp $
PATCHLEVEL=1
inherit eutils toolchain-funcs flag-o-matic
MY_P=netkit-${P}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Standard Linux FTP client"
HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz
mirror://gentoo/${MY_P}-patches-${PATCHLEVEL}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE="ssl ipv6"
RDEPEND=">=sys-libs/ncurses-5.2
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd "${S}"
EPATCH_DIR="${WORKDIR}"/patch \
EPATCH_SUFFIX="patch" \
epatch
append-lfs-flags #101038
}
src_compile() {
./configure \
--prefix=/usr \
$(use_enable ssl) \
$(use_enable ipv6) \
${EXTRA_ECONF} \
|| die "configure failed"
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "make failed"
}
src_install() {
dobin ftp/ftp || die
doman ftp/ftp.1 ftp/netrc.5
dodoc ChangeLog README BUGS
}
|