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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Feb 6 18:43:07 2012 UTC (2 years, 10 months ago) by ranger
Branch: MAIN
Changes since 1.6: +2 -2 lines
Marking gnu-netcat-0.7.1-r3 ppc for bug 397127

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild,v 1.6 2012/02/05 18:29:14 armin76 Exp $
4
5 EAPI="3"
6
7 inherit eutils flag-o-matic
8
9 DESCRIPTION="the GNU network swiss army knife"
10 HOMEPAGE="http://netcat.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm ~hppa ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
16 IUSE="debug nls"
17
18 S=${WORKDIR}/netcat-${PV}
19
20 src_prepare() {
21 epatch \
22 "${FILESDIR}"/${PN}-flagcount.patch \
23 "${FILESDIR}"/${PN}-close.patch \
24 "${FILESDIR}"/${PN}-LC_CTYPE.patch
25
26 }
27
28 src_configure() {
29 use debug && append-flags -DDEBUG
30 econf $(use_enable nls)
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install || die "emake install failed"
35 rm "${ED}"usr/bin/nc
36 dodoc AUTHORS ChangeLog NEWS README TODO
37 }

  ViewVC Help
Powered by ViewVC 1.1.20