e4226946ff3c12aed6c1cd204394365577f8640c
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / rrdtool / rrdtool.mk
1 ################################################################################
2 #
3 # rrdtool
4 #
5 ################################################################################
6
7 RRDTOOL_VERSION = 1.2.30
8 RRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub
9 RRDTOOL_LICENSE = GPLv2+ with FLOSS license exceptions as explained in COPYRIGHT
10 RRDTOOL_LICENSE_FILES = COPYING COPYRIGHT
11
12 RRDTOOL_DEPENDENCIES = host-pkgconf freetype libart libpng zlib
13 RRDTOOL_AUTORECONF = YES
14 RRDTOOL_INSTALL_STAGING = YES
15 RRDTOOL_CONF_ENV = \
16         rd_cv_ieee_works=yes \
17         rd_cv_null_realloc=nope \
18         ac_cv_func_mmap_fixed_mapped=yes
19 RRDTOOL_CONF_OPTS = \
20         --disable-perl \
21         --disable-python \
22         --disable-ruby \
23         --disable-tcl \
24         --program-transform-name='' \
25         $(if $(BR2_TOOLCHAIN_HAS_THREADS),,--disable-pthread)
26 RRDTOOL_MAKE = $(MAKE1)
27
28 define RRDTOOL_REMOVE_EXAMPLES
29         rm -rf $(TARGET_DIR)/usr/share/rrdtool/examples
30 endef
31
32 RRDTOOL_POST_INSTALL_TARGET_HOOKS += RRDTOOL_REMOVE_EXAMPLES
33
34 $(eval $(autotools-package))