summaryrefslogtreecommitdiff
path: root/rrdtool/rrdtool_1.0.49.oe
blob: 4af99fa192d424fc6f5feb5a973e52a191b98fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average)."
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
HOMEPAGE = "http://people.ee.ethz.ch/~oetiker/webtools/rrdtool"
DEPENDS = "libpng zlib"
SRC_URI = "http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-${PV}.tar.gz \
	file://perl-make-options.diff;patch=1;pnum=0"

inherit autotools

EXTRA_OECONF = "--enable-shared --enable-local-libpng --enable-local-zlib --program-prefix=''"

do_install_append() {
	install -d ${D}/${docdir}/rrdtool/
	mv ${D}/usr/html ${D}/${docdir}/rrdtool/
	mv ${D}/usr/doc/* ${D}/${docdir}/rrdtool/
	mv ${D}/usr/examples ${D}/${docdir}/rrdtool/
	mv ${D}/usr/contrib ${D}/${docdir}/rrdtool/
}

FILES_${PN} += "/usr/lib/perl"

DEPENDS_rddtool-perl = "perl-module-lib perl-module-dynaloader"