68d351b6f3
Drop the patches since this is a major bump and they're no longer relevant. Introduce the new RRDTOOL_RRDGRAPH option, in previous versions the graphing functionality was bundled with the stats/database backend, however for newer versions this can be disabled. Since it's normally expected functionality the default is yes, however all of the buildroot rrd-using applications can work without this. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
37 lines
922 B
Makefile
37 lines
922 B
Makefile
################################################################################
|
|
#
|
|
# rrdtool
|
|
#
|
|
################################################################################
|
|
|
|
RRDTOOL_VERSION = 1.5.5
|
|
RRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub
|
|
RRDTOOL_LICENSE = GPLv2+ with FLOSS license exceptions as explained in COPYRIGHT
|
|
RRDTOOL_LICENSE_FILES = COPYRIGHT LICENSE
|
|
RRDTOOL_DEPENDENCIES = host-pkgconf libglib2
|
|
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))
|