aboutsummaryrefslogtreecommitdiffstats
path: root/packages/rrdtool/rrdtool_1.0.49.bb
blob: 1a148c81ae1d4ad807e1332238765d9bca6fd491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
LICENSE = "GPLv2"
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} += "${libdir}/perl"

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