summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-02 01:31:02 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-02 01:31:02 +0000
commitc489a74164ed89e1851c026d0486b4a5df89e8cd (patch)
tree6348ec91c967a4d8028c13a8db97004bafeadf15 /net-analyzer
parentAdd ~amd64 keyword. (diff)
downloadgentoo-2-c489a74164ed89e1851c026d0486b4a5df89e8cd.tar.gz
gentoo-2-c489a74164ed89e1851c026d0486b4a5df89e8cd.tar.bz2
gentoo-2-c489a74164ed89e1851c026d0486b4a5df89e8cd.zip
Update to EAPI 4, simplify libnet dep, and other minor cleanups.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/angst/ChangeLog5
-rw-r--r--net-analyzer/angst/angst-0.4b-r2.ebuild16
2 files changed, 12 insertions, 9 deletions
diff --git a/net-analyzer/angst/ChangeLog b/net-analyzer/angst/ChangeLog
index 25de010f8eaf..01cd1291cb24 100644
--- a/net-analyzer/angst/ChangeLog
+++ b/net-analyzer/angst/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/angst
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/ChangeLog,v 1.12 2011/12/02 01:18:56 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/ChangeLog,v 1.13 2011/12/02 01:31:02 radhermit Exp $
+
+ 02 Dec 2011; Tim Harder <radhermit@gentoo.org> angst-0.4b-r2.ebuild:
+ Update to EAPI 4, simplify libnet dep, and other minor cleanups.
02 Dec 2011; Tim Harder <radhermit@gentoo.org> -angst-0.4b-r1.ebuild:
Remove old.
diff --git a/net-analyzer/angst/angst-0.4b-r2.ebuild b/net-analyzer/angst/angst-0.4b-r2.ebuild
index 9d001c4304b9..0ab70703ba56 100644
--- a/net-analyzer/angst/angst-0.4b-r2.ebuild
+++ b/net-analyzer/angst/angst-0.4b-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/angst-0.4b-r2.ebuild,v 1.2 2011/12/01 19:43:54 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/angst-0.4b-r2.ebuild,v 1.3 2011/12/02 01:31:02 radhermit Exp $
-EAPI="2"
+EAPI="4"
inherit eutils toolchain-funcs
@@ -16,12 +16,12 @@ KEYWORDS="~ppc x86"
IUSE=""
DEPEND="net-libs/libpcap
- <net-libs/libnet-1.1
- >=net-libs/libnet-1.0.2a-r3"
+ net-libs/libnet:1.0"
+RDEPEND="${DEPEND}"
src_prepare() {
-cp -av Makefile.linux{,.orig}
- epatch ${FILESDIR}/${PV}-libnet-1.0.patch
+ cp -av Makefile.linux{,.orig}
+ epatch "${FILESDIR}"/${PV}-libnet-1.0.patch
sed -i Makefile.linux \
-e 's|^CC =|CC ?=|g' \
-e '/ -o angst /s|$(OBJS)|$(LDFLAGS) &|g' \
@@ -33,11 +33,11 @@ src_compile() {
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
CC="$(tc-getCC)" \
- -f Makefile.linux || die
+ -f Makefile.linux
}
src_install() {
dosbin angst
doman angst.8
- dodoc README LICENSE TODO ChangeLog
+ dodoc README TODO ChangeLog
}