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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed May 26 16:08:57 2010 UTC (4 years, 3 months ago) by abcd
Branch: MAIN
Changes since 1.1: +9 -11 lines
Bump to EAPI=3, add prefix keywords
(Portage version: 2.2_rc67/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-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild,v 1.1 2010/02/12 16:08:08 jer Exp $
4
5 EAPI="3"
6
7 inherit eutils toolchain-funcs 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="nls debug"
17
18 DEPEND=""
19
20 S=${WORKDIR}/netcat-${PV}
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${PN}-flagcount.patch
24 epatch "${FILESDIR}"/${PN}-close.patch
25 }
26
27 src_configure() {
28 econf \
29 $(use_enable nls) \
30 $(use_enable debug)
31 }
32
33 src_install() {
34 emake -j1 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