blob: 2248138f835bae2b7ffda0b7353f2561ecbbf2f3 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.35-r2.ebuild,v 1.2 2002/07/11 06:30:45 drobbins 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=/usr/share/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
for i in doc/*.1 ; do
doman $i
done
}
|