/[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.3 - (hide annotations) (download)
Tue Jul 19 13:14:48 2005 UTC (14 years, 7 months ago) by dholm
Branch: MAIN
Changes since 1.2: +2 -2 lines
Added to ~ppc
(Portage version: 2.0.51.22-r1)

1 ka0ttic 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 dholm 1.3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifmetric/ifmetric-0.3.ebuild,v 1.2 2005/06/09 14:20:11 ka0ttic Exp $
4 ka0ttic 1.1
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 dholm 1.3 KEYWORDS="~ppc x86"
12 ka0ttic 1.1 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