blob: ce10509630924e29d359192a639ffe17767ed0e2 (
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
45
|
# 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-r2.ebuild,v 1.1 2002/06/03 03:50:36 lamer 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
}
|