/[gentoo-x86]/net-analyzer/ifmetric/ifmetric-0.3.ebuild
Gentoo

Contents of /net-analyzer/ifmetric/ifmetric-0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Sep 11 22:57:23 2005 UTC (14 years, 5 months ago) by metalgod
Branch: MAIN
Changes since 1.3: +2 -2 lines
Added ~amd64 keyword.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifmetric/ifmetric-0.3.ebuild,v 1.3 2005/07/19 13:14:48 dholm Exp $
4
5 DESCRIPTION="A Linux tool for setting the metrics of all IPv4 routes attached to a given network interface at once."
6 HOMEPAGE="http://0pointer.de/lennart/projects/ifmetric/"
7 SRC_URI="http://0pointer.de/lennart/projects/ifmetric/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~amd64 ~ppc x86"
12 IUSE=""
13
14 # NOTE: this app is linux-only, virtual/os-headers therefore is incorrect
15 DEPEND="sys-kernel/linux-headers"
16 RDEPEND=""
17
18 src_compile() {
19 # man page and HTML are already generated
20 econf --disable-xmltoman --disable-lynx || die "econf failed"
21 emake || die "emake failed"
22 }
23
24 src_install() {
25 make DESTDIR="${D}" install || die "make install failed"
26 dodoc README
27 dohtml doc/README.html
28 }

  ViewVC Help
Powered by ViewVC 1.1.20