blob: a4a62ef152eb8b123262fb033ee875bb457646b2 (
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
|
DESCRIPTION = "High performance data logging and graphing system for time series data."
HOMEPAGE = "http://oss.oetiker.ch/rrdtool/"
SECTION = "utils"
LICENSE = "GPLv2"
DEPENDS = "libpng zlib"
DEPENDS_rddtool-perl = "perl-module-lib perl-module-dynaloader"
PR = "r2"
SRC_URI = "http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/rrdtool-${PV}.tar.gz \
file://perl-make-options.diff;striplevel=0"
inherit autotools
EXTRA_OECONF = "--enable-shared --enable-local-libpng --enable-local-zlib --program-prefix=''"
do_configure_append_nylon() {
perl -pi -e 's/-Wdeclaration-after-statement //g' ${S}/perl-shared/Makefile
}
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/auto/RRDs/RRDs.bs ${libdir}/perl/auto/RRDs/RRDs.so ${libdir}/perl/RRDs.pm ${libdir}/perl/RRDp.pm"
SRC_URI[md5sum] = "fbe492dbf3d68abb1d86c2322e7ed44a"
SRC_URI[sha256sum] = "20acb0aa347f1629c4d5529ab8afbe4986fe820555049af3f905653300e5ea74"
|