summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-30 16:10:52 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-30 16:10:52 +0000
commite5eadff95dfc0e173f7446eec9240e9d267ee421 (patch)
tree1e0f0430b32a523e3496b91d6d38a3223defd07b /net-analyzer
parentNM: Cleanup superseded EAPI=1 ebuild. (diff)
downloadgentoo-2-e5eadff95dfc0e173f7446eec9240e9d267ee421.tar.gz
gentoo-2-e5eadff95dfc0e173f7446eec9240e9d267ee421.tar.bz2
gentoo-2-e5eadff95dfc0e173f7446eec9240e9d267ee421.zip
Move the rest of the ebuild to EAPI 5 too.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
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."