# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Jerry Alexandratos # $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.33.ebuild,v 1.2 2002/01/27 07:08:54 blocke Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="A system to store and display time-series data" SRC_URI="http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/${A}" HOMEPAGE="http://ee-staff.ethz.ca/~oetiker/webtools/rrdtool/" DEPEND="virtual/glibc sys-devel/perl >=media-libs/libgd-1.8.3 tcl? ( dev-lang/tcl )" RDEPEND="virtual/glibc sys-devel/perl tcl? ( dev-lang/tcl )" src_compile() { local myconf use tcl && myconf="--with-tcllib=/usr/lib" try ./configure --prefix=/opt/rrdtool ${myconf} --host=${CHOST} --with-perl-options='INSTALLMAN1DIR=${D}/usr/share/man/man1 INSTALLMAN3DIR=${D}/usr/share/man/man3' try make } src_install () { try make prefix=${D}/opt/rrdtool install try make PREFIX=${D}/usr site-perl-install }