blob: 2e3783a9ff51da3938f1d7112edb5d7e37932bc4 (
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
|
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)."
HOMEPAGE = "http://people.ee.ethz.ch/~oetiker/webtools/rrdtool"
LICENSE = "GPLv2"
DEPENDS = "libpng zlib"
PR = "r2"
SRC_URI = "http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.x/rrdtool-${PV}.tar.gz \
file://perl-make-options.diff;patch=1;pnum=0"
inherit autotools
EXTRA_OECONF = "rd_cv_ieee_works=yes --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/
}
do_stage () {
install -m 0644 src/*.h ${STAGING_INCDIR}/
oe_libinstall -a -so librrd ${STAGING_LIBDIR}
}
FILES_${PN} += "${libdir}/perl"
DEPENDS_rddtool-perl = "perl-module-lib perl-module-dynaloader"
|