summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-15 11:57:29 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-15 11:57:29 +0000
commit85734714f8c09f17af2250ea40d2d93d7fb5938f (patch)
treed25255e4c9f846a554ee920a82b584efd761f84e /net-analyzer
parentVersion bump (diff)
downloadhistorical-85734714f8c09f17af2250ea40d2d93d7fb5938f.tar.gz
historical-85734714f8c09f17af2250ea40d2d93d7fb5938f.tar.bz2
historical-85734714f8c09f17af2250ea40d2d93d7fb5938f.zip
forgot to add this
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.0.35-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-analyzer/rrdtool/rrdtool-1.0.35-r1.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.35-r1.ebuild
new file mode 100644
index 000000000000..7d9dd05a7709
--- /dev/null
+++ b/net-analyzer/rrdtool/rrdtool-1.0.35-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Jerry Alexandratos <jerry@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.35-r1.ebuild,v 1.1 2002/04/15 11:57:29 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A system to store and display time-series data"
+SRC_URI="http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/${P}.tar.gz"
+HOMEPAGE="http://ee-staff.ethz.ca/~oetiker/webtools/rrdtool/"
+
+RDEPEND="sys-devel/perl
+ tcltk? ( dev-lang/tcl )"
+
+DEPEND="${RDEPEND}
+ >=media-libs/libgd-1.8.3"
+
+src_compile() {
+
+ local myconf
+ use tcltk \
+ && myconf="--with-tcllib=/usr/lib" \
+ || myconf="--without-tcllib"
+
+ ./configure \
+ --prefix=/opt/rrdtool \
+ --mandir=/usr/share/man \
+ --with-perl-options='INSTALLMAN1DIR=${D}/usr/share/man/man1 INSTALLMAN3DIR=${D}/usr/share/man/man3' \
+ ${myconf} || die
+
+ make || die
+}
+
+src_install () {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ make \
+ PREFIX=${D}/usr \
+ site-perl-install || die
+}