summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/driftnet/ChangeLog5
-rw-r--r--net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild18
2 files changed, 13 insertions, 10 deletions
diff --git a/net-analyzer/driftnet/ChangeLog b/net-analyzer/driftnet/ChangeLog
index 273382f8504b..ff6afdcf4f78 100644
--- a/net-analyzer/driftnet/ChangeLog
+++ b/net-analyzer/driftnet/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/driftnet
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.43 2014/01/06 02:21:09 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.44 2014/06/30 16:10:52 jer Exp $
+
+ 30 Jun 2014; Jeroen Roovers <jer@gentoo.org> driftnet-0.1.6_p20090401.ebuild:
+ Move the rest of the ebuild to EAPI 5 too.
06 Jan 2014; Steev Klimaszewski <steev@gentoo.org>
driftnet-0.1.6_p20090401.ebuild:
diff --git a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild
index 9fd5daddea2e..63462e370be3 100644
--- a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild
+++ b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.9 2014/01/06 02:21:09 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.10 2014/06/30 16:10:52 jer Exp $
EAPI=5
inherit eutils flag-o-matic toolchain-funcs
@@ -38,24 +38,24 @@ src_prepare() {
src_compile() {
export CC=$(tc-getCC)
if use gtk; then
- emake || die "gtk+ build failed"
- mv driftnet driftnet-gtk
- make clean || die
+ emake
+ mv driftnet driftnet-gtk || die
+ emake clean
fi
# build a non-gtk version for all users
sed -i 's:^\(.*gtk.*\)$:#\1:g' Makefile || die "sed disable gtk failed"
append-flags -DNO_DISPLAY_WINDOW
- emake || die "emake failed"
+ emake
}
src_install () {
- dosbin driftnet || die "dobin failed"
- doman driftnet.1 || die "doman failed"
+ dosbin driftnet
+ doman driftnet.1
- use gtk && { dosbin driftnet-gtk || die "dosbin failed (gtk)" ; }
+ use gtk && dosbin driftnet-gtk
- dodoc CHANGES CREDITS README TODO || die "dodoc failed"
+ dodoc CHANGES CREDITS README TODO
if use suid ; then
elog "marking the no-display driftnet as setuid root."