/[gentoo-x86]/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r1.ebuild
Gentoo

Contents of /net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Sep 23 18:18:55 2009 UTC (8 years, 9 months ago) by patrick
Branch: MAIN
Changes since 1.5: +3 -3 lines
Remove virtual/libc
(Portage version: 2.2_rc41/cvs/Linux x86_64)

1 patrick 1.6 # Copyright 1999-2009 Gentoo Foundation
2 jokey 1.1 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.6 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r1.ebuild,v 1.5 2008/03/13 13:35:09 coldwind Exp $
4 jokey 1.1
5     inherit eutils toolchain-funcs flag-o-matic
6    
7     DESCRIPTION="the GNU network swiss army knife"
8     HOMEPAGE="http://netcat.sourceforge.net/"
9     SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 coldwind 1.5 KEYWORDS="alpha amd64 arm ~hppa ~ppc sparc x86 ~x86-fbsd"
14 jokey 1.1 IUSE="nls debug"
15    
16 patrick 1.6 DEPEND=""
17 jokey 1.1
18     S=${WORKDIR}/netcat-${PV}
19    
20     src_unpack() {
21     unpack ${A}
22     cd "${S}"
23     epatch "${FILESDIR}"/${PN}-flagcount.patch
24     }
25    
26     src_compile() {
27     econf \
28     $(use_enable nls) \
29     $(use_enable debug) \
30     || die "econf failed"
31     emake || die "emake failed"
32     }
33    
34     src_install() {
35     make DESTDIR="${D}" install || die "emake install failed"
36     rm "${D}"/usr/bin/nc
37     dodoc AUTHORS ChangeLog NEWS README TODO
38     }

  ViewVC Help
Powered by ViewVC 1.1.20