blob: f71379f01d32971f2c0e8ede0daa8e8ae5886041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mrtg/mrtg-2.9.7.ebuild,v 1.2 2001/05/12 12:13:25 achim Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A tool to monitor the traffic load on network-links"
SRC_URI="http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg-2.9.7.tar.gz"
HOMEPAGE="http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/"
DEPEND=" >=media-libs/libgd-1.8.3"
src_compile() {
cd ${S}
try ./configure --prefix=/usr --host=${CHOST}
try make
}
src_install () {
cd ${S}
try make prefix=${D}/usr install
rm -r ${D}/usr/doc
dodoc ANNOUNCE COPYING CHANGES COPYRIGHT
dodoc MANIFEST README THANKS
docinto txt
dodoc doc/*.txt
docinto html
dodoc doc/*.html images/*
}
|