/[gentoo-x86]/net-ftp/ncftp/ncftp-3.2.5-r3.ebuild
Gentoo

Contents of /net-ftp/ncftp/ncftp-3.2.5-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Wed Mar 19 15:14:02 2014 UTC (5 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Stable for alpha, wrt bug #500286

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="alpha", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.2.5-r3.ebuild,v 1.9 2014/03/14 10:05:29 ago Exp $
4
5 EAPI=5
6 inherit autotools eutils toolchain-funcs
7
8 DESCRIPTION="An extremely configurable ftp client"
9 HOMEPAGE="http://www.ncftp.com/"
10 SRC_URI="
11 ftp://ftp.${PN}.com/${PN}/${P}-src.tar.bz2 -> ${P}.474.tar.bz2
12 mirror://openbsd/distfiles/${P//.}-v6.diff.gz
13 "
14
15 LICENSE="Clarified-Artistic"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
18 IUSE="ipv6 pch"
19
20 DEPEND="sys-libs/ncurses"
21 RDEPEND="${DEPEND}"
22
23 S=${WORKDIR}/${P/.474}
24
25 src_prepare() {
26 epatch "${WORKDIR}"/${P//.}-v6.diff
27 tc-export CC
28 sed -i \
29 -e "s:CC=gcc:CC ?= ${CC}:" \
30 -e 's:@SFLAG@::' \
31 -e 's:@STRIP@:true:' \
32 Makefile.in */Makefile.in || die
33 AT_M4DIR=autoconf_local/ eautoreconf
34 }
35
36 src_configure() {
37 LC_ALL="C" \
38 LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
39 econf \
40 $(use_enable ipv6) \
41 $(use_enable pch precomp) \
42 --disable-ccdv \
43 --disable-universal
44 }
45
46 src_install() {
47 default
48 dodoc README.txt doc/*.txt
49 dohtml doc/html/*.html
50 }

  ViewVC Help
Powered by ViewVC 1.1.20