1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs flag-o-matic versionator
11 MY_PV="$(get_version_component_range 1-2)"
12 MY_P="netkit-${PN}-${MY_PV}"
14 DEB_PV="$(get_version_component_range 1-3)+$(get_version_component_range 4-5)-$(get_version_component_range 6)"
15 DESCRIPTION="Standard Linux FTP client"
16 HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
17 SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/network/netkit/${MY_P}.tar.gz
18 mirror://debian/pool/main/n/${DEB_PN}/${DEB_PN}_${DEB_PV}.debian.tar.gz
19 mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2"
23 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
24 IUSE="ipv6 readline ssl"
26 RDEPEND=">=sys-libs/ncurses-5.2:=
27 readline? ( sys-libs/readline:0= )
28 ssl? ( dev-libs/openssl:0= )"
34 EPATCH_FORCE="yes" EPATCH_SUFFIX="diff" epatch "${WORKDIR}"/debian/patches
35 EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
37 -e 's:echo -n:printf %s :' \
42 append-lfs-flags #101038
44 # not an autoconf script
48 $(use_enable readline) \
55 doman ftp/ftp.1 ftp/netrc.5
56 dodoc ChangeLog README BUGS