summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-10-26 10:53:28 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-10-26 10:53:28 +0000
commitffa1931c4baf38bed7710131bedf3bfa004ccd5a (patch)
tree7d9aade750594c59d2c56e5a2715af9d9cae38b5 /net-analyzer/ifmetric
parentRevision bump: EAPI 4, use default src_install, proper handling of 'ssl' and ... (diff)
downloadgentoo-2-ffa1931c4baf38bed7710131bedf3bfa004ccd5a.tar.gz
gentoo-2-ffa1931c4baf38bed7710131bedf3bfa004ccd5a.tar.bz2
gentoo-2-ffa1931c4baf38bed7710131bedf3bfa004ccd5a.zip
Bump to EAPI 4 + small cosmetic changes
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-analyzer/ifmetric')
-rw-r--r--net-analyzer/ifmetric/ChangeLog7
-rw-r--r--net-analyzer/ifmetric/ifmetric-0.3.ebuild22
2 files changed, 18 insertions, 11 deletions
diff --git a/net-analyzer/ifmetric/ChangeLog b/net-analyzer/ifmetric/ChangeLog
index 09dd5708c62f..b85bbc8cc146 100644
--- a/net-analyzer/ifmetric/ChangeLog
+++ b/net-analyzer/ifmetric/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/ifmetric
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifmetric/ChangeLog,v 1.6 2007/03/19 02:15:16 kloeri Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifmetric/ChangeLog,v 1.7 2012/10/26 10:53:28 pinkbyte Exp $
+
+ 26 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> ifmetric-0.3.ebuild:
+ Bump to EAPI 4 + small cosmetic changes
19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove ka0ttic from metadata.xml due to retirement.
diff --git a/net-analyzer/ifmetric/ifmetric-0.3.ebuild b/net-analyzer/ifmetric/ifmetric-0.3.ebuild
index 19b11e9d30cb..67121beb0212 100644
--- a/net-analyzer/ifmetric/ifmetric-0.3.ebuild
+++ b/net-analyzer/ifmetric/ifmetric-0.3.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifmetric/ifmetric-0.3.ebuild,v 1.4 2005/09/11 22:57:23 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifmetric/ifmetric-0.3.ebuild,v 1.5 2012/10/26 10:53:28 pinkbyte Exp $
-DESCRIPTION="A Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once."
+EAPI=4
+
+DESCRIPTION="A Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once"
HOMEPAGE="http://0pointer.de/lennart/projects/ifmetric/"
-SRC_URI="http://0pointer.de/lennart/projects/ifmetric/${P}.tar.gz"
+SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -15,14 +17,16 @@ IUSE=""
DEPEND="sys-kernel/linux-headers"
RDEPEND=""
-src_compile() {
+DOCS=( README )
+
+src_configure() {
# man page and HTML are already generated
- econf --disable-xmltoman --disable-lynx || die "econf failed"
- emake || die "emake failed"
+ econf \
+ --disable-xmltoman \
+ --disable-lynx
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc README
+ default
dohtml doc/README.html
}