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

Contents of /net-ftp/ncftp/ncftp-3.2.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Aug 30 03:06:52 2010 UTC (4 years, 2 months ago) by jer
Branch: MAIN
Changes since 1.1: +3 -3 lines
Add IUSE=pch by zorry (bug #301299).

(Portage version: 2.2_rc71/cvs/Linux i686)

1 # Copyright 1999-2010 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.4.1.ebuild,v 1.1 2010/07/29 15:08:30 jer Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 IPV6_P="ncftp-323-v6-20091109"
10 DESCRIPTION="An extremely configurable ftp client"
11 HOMEPAGE="http://www.ncftp.com/"
12 SRC_URI="ftp://ftp.${PN}.com/${PN}/${P/.1/}-src.tar.bz2 -> ${P}.tar.bz2"
13 # ipv6? ( ftp://ftp.kame.net/pub/kame/misc/${IPV6_P}.diff.gz )"
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 ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
18 IUSE="pch"
19
20 DEPEND="sys-libs/ncurses"
21 RDEPEND="${DEPEND}"
22
23 S="${WORKDIR}/${P/.1/}"
24
25 src_prepare() {
26 #use ipv6 && epatch "${DISTDIR}"/${IPV6_P}.diff.gz
27 tc-export CC
28 sed \
29 -e "s:CC=gcc:CC ?= ${CC}:" \
30 -e 's:@SFLAG@::' \
31 -e 's:@STRIP@:true:' \
32 -i Makefile.in */Makefile.in || die
33 }
34 src_configure() {
35 LC_ALL="C" econf --disable-universal $(use_enable pch precomp ) || die
36 }
37
38 src_install() {
39 emake install DESTDIR="${D}" || die
40 dodoc README.txt doc/*.txt
41 dohtml doc/html/*.html
42 }

  ViewVC Help
Powered by ViewVC 1.1.20