2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-06-23 22:22:16 +02:00
|
|
|
#
|
|
|
|
# rrdtool
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-06-23 22:22:16 +02:00
|
|
|
|
2015-11-11 14:28:19 +01:00
|
|
|
RRDTOOL_VERSION = 1.5.5
|
2010-06-23 22:22:16 +02:00
|
|
|
RRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub
|
2012-11-30 12:46:33 +01:00
|
|
|
RRDTOOL_LICENSE = GPLv2+ with FLOSS license exceptions as explained in COPYRIGHT
|
2015-11-11 14:28:19 +01:00
|
|
|
RRDTOOL_LICENSE_FILES = COPYRIGHT LICENSE
|
|
|
|
RRDTOOL_DEPENDENCIES = host-pkgconf libglib2
|
2015-12-02 18:57:27 +01:00
|
|
|
# For 0001-Add-configure-option-to-disable-documentation.patch
|
|
|
|
RRDTOOL_AUTORECONF = YES
|
|
|
|
RRDTOOL_GETTEXTIZE = YES
|
2010-06-23 22:22:16 +02:00
|
|
|
RRDTOOL_INSTALL_STAGING = YES
|
2014-12-24 08:54:24 +01:00
|
|
|
RRDTOOL_CONF_OPTS = \
|
2015-11-11 14:28:19 +01:00
|
|
|
--disable-examples \
|
|
|
|
--disable-libdbi \
|
|
|
|
--disable-librados \
|
|
|
|
--disable-libwrap \
|
|
|
|
--disable-lua \
|
2014-12-24 08:54:24 +01:00
|
|
|
--disable-perl \
|
|
|
|
--disable-python \
|
|
|
|
--disable-ruby \
|
2015-11-11 14:28:19 +01:00
|
|
|
--disable-tcl
|
2010-06-23 22:22:16 +02:00
|
|
|
|
2015-11-11 14:28:19 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_RRDTOOL_RRDGRAPH),y)
|
|
|
|
RRDTOOL_DEPENDENCIES += cairo pango
|
|
|
|
else
|
|
|
|
RRDTOOL_CONF_OPTS += --disable-rrd_graph
|
|
|
|
endif
|
2010-06-23 22:22:16 +02:00
|
|
|
|
2015-11-11 14:28:19 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
|
|
|
RRDTOOL_DEPENDENCIES += libxml2
|
|
|
|
else
|
|
|
|
RRDTOOL_CONF_OPTS += --disable-rrd_restore
|
|
|
|
endif
|
2010-06-23 22:22:16 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|