kumquat-buildroot/package/rrdtool/rrdtool.mk
Gustavo Zacarias 71dabb5c1b rrdtool: add patch to disable documentation
Add patch to disable documentation. Fixes:
http://autobuild.buildroot.net/results/6fb/6fb94127af6ff53bdcf52ee0eec8971ccd8858f5/

Patch status: pull req https://github.com/oetiker/rrdtool-1.x/pull/690

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-12-02 21:31:11 +01:00

40 lines
1.0 KiB
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
# For 0001-Add-configure-option-to-disable-documentation.patch
RRDTOOL_AUTORECONF = YES
RRDTOOL_GETTEXTIZE = 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))