summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-06-04 00:16:12 +0000
committerAchim Gottinger <achim@gentoo.org>2001-06-04 00:16:12 +0000
commit9ea505d44e317141bbe1c635ed016c316ea75db7 (patch)
tree60e1fbb37be62abbc9144477c188c3bbd0d78813 /net-analyzer/mrtg
parentNow finds it's help and configuration files correctly (diff)
downloadgentoo-2-9ea505d44e317141bbe1c635ed016c316ea75db7.tar.gz
gentoo-2-9ea505d44e317141bbe1c635ed016c316ea75db7.tar.bz2
gentoo-2-9ea505d44e317141bbe1c635ed016c316ea75db7.zip
dependencie fixes and updates
Diffstat (limited to 'net-analyzer/mrtg')
-rw-r--r--net-analyzer/mrtg/mrtg-2.9.7.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-analyzer/mrtg/mrtg-2.9.7.ebuild b/net-analyzer/mrtg/mrtg-2.9.7.ebuild
index f71379f01d32..c9655e726aed 100644
--- a/net-analyzer/mrtg/mrtg-2.9.7.ebuild
+++ b/net-analyzer/mrtg/mrtg-2.9.7.ebuild
@@ -1,17 +1,18 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mrtg/mrtg-2.9.7.ebuild,v 1.3 2001/06/04 00:16:12 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"
+DEPEND="virtual/glibc sys-devel/perl >=media-libs/libgd-1.8.3"
+RDEPEND="virtual/glibc sys-devel/perl >=media-libs/libpng-1.0.10 "
+
src_compile() {
- cd ${S}
try ./configure --prefix=/usr --host=${CHOST}
try make
@@ -19,8 +20,10 @@ src_compile() {
src_install () {
- cd ${S}
try make prefix=${D}/usr install
+ dodir /usr/share/man
+ mv ${D}/usr/man/man1 ${D}/usr/share/man
+ rm -rf ${D}/usr/man
rm -r ${D}/usr/doc
dodoc ANNOUNCE COPYING CHANGES COPYRIGHT
dodoc MANIFEST README THANKS