| ################################################################################ |
| # |
| # rrdtool |
| # |
| ################################################################################ |
| |
| RRDTOOL_VERSION = 1.8.0 |
| RRDTOOL_SITE = https://github.com/oetiker/rrdtool-1.x/releases/download/v$(RRDTOOL_VERSION) |
| RRDTOOL_LICENSE = GPL-2.0+ with FLOSS license exceptions as explained in COPYRIGHT |
| RRDTOOL_LICENSE_FILES = COPYRIGHT LICENSE |
| RRDTOOL_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES) |
| |
| # 0001-Fix-BUILD_DATE-in-rrdtool-help-output.patch |
| # autoreconf also needed to avoid link failure due to missing -lintl, |
| # autopoint needed as a consequence of autoreconf |
| RRDTOOL_AUTORECONF = YES |
| RRDTOOL_AUTOPOINT = YES |
| |
| RRDTOOL_INSTALL_STAGING = YES |
| RRDTOOL_CONF_OPTS = \ |
| --disable-examples \ |
| --disable-libdbi \ |
| --disable-librados \ |
| --disable-libwrap \ |
| --disable-lua \ |
| --disable-perl \ |
| --disable-python \ |
| --disable-ruby \ |
| --disable-tcl |
| |
| ifeq ($(BR2_PACKAGE_RRDTOOL_RRDGRAPH),y) |
| RRDTOOL_DEPENDENCIES += cairo pango |
| else |
| RRDTOOL_CONF_OPTS += --disable-rrd_graph |
| endif |
| |
| ifeq ($(BR2_PACKAGE_LIBXML2),y) |
| RRDTOOL_DEPENDENCIES += libxml2 |
| else |
| RRDTOOL_CONF_OPTS += --disable-rrd_restore |
| endif |
| |
| $(eval $(autotools-package)) |