summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-05-26 16:08:57 +0000
committerJonathan Callen <abcd@gentoo.org>2010-05-26 16:08:57 +0000
commitd8f79a416fd18b46e3abf8acc21495901372e86d (patch)
tree3f69b5a0749a731d51568251865e0e4fd6cce8ad /net-analyzer/gnu-netcat
parentbump to the latest upstream 0.22 and remove older versions (diff)
downloadgentoo-2-d8f79a416fd18b46e3abf8acc21495901372e86d.tar.gz
gentoo-2-d8f79a416fd18b46e3abf8acc21495901372e86d.tar.bz2
gentoo-2-d8f79a416fd18b46e3abf8acc21495901372e86d.zip
Bump to EAPI=3, add prefix keywords
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/gnu-netcat')
-rw-r--r--net-analyzer/gnu-netcat/ChangeLog5
-rw-r--r--net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild20
2 files changed, 13 insertions, 12 deletions
diff --git a/net-analyzer/gnu-netcat/ChangeLog b/net-analyzer/gnu-netcat/ChangeLog
index 592bdf641e6b..ffb5f4a76d62 100644
--- a/net-analyzer/gnu-netcat/ChangeLog
+++ b/net-analyzer/gnu-netcat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/gnu-netcat
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/ChangeLog,v 1.19 2010/02/12 16:08:08 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/ChangeLog,v 1.20 2010/05/26 16:08:57 abcd Exp $
+
+ 26 May 2010; Jonathan Callen <abcd@gentoo.org> gnu-netcat-0.7.1-r2.ebuild:
+ Bump to EAPI=3, add prefix keywords
*gnu-netcat-0.7.1-r2 (12 Feb 2010)
diff --git a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild
index 0a5372f5fab6..bf31298d9478 100644
--- a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild
+++ b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r2.ebuild,v 1.2 2010/05/26 16:08:57 abcd Exp $
+
+EAPI="3"
inherit eutils toolchain-funcs flag-o-matic
@@ -10,30 +12,26 @@ SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="nls debug"
DEPEND=""
S=${WORKDIR}/netcat-${PV}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PN}-flagcount.patch
epatch "${FILESDIR}"/${PN}-close.patch
}
-src_compile() {
+src_configure() {
econf \
$(use_enable nls) \
- $(use_enable debug) \
- || die "econf failed"
- emake || die "emake failed"
+ $(use_enable debug)
}
src_install() {
- make DESTDIR="${D}" install || die "emake install failed"
- rm "${D}"/usr/bin/nc
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+ rm "${ED}"usr/bin/nc
dodoc AUTHORS ChangeLog NEWS README TODO
}