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
|
|
|
|
|
|
|
RRDTOOL_VERSION = 1.2.30
|
|
|
|
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
|
|
|
|
RRDTOOL_LICENSE_FILES = COPYING COPYRIGHT
|
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
RRDTOOL_DEPENDENCIES = host-pkgconf freetype libart libpng zlib
|
2011-11-14 10:16:49 +01:00
|
|
|
RRDTOOL_AUTORECONF = YES
|
2010-06-23 22:22:16 +02:00
|
|
|
RRDTOOL_INSTALL_STAGING = YES
|
|
|
|
RRDTOOL_CONF_ENV = rd_cv_ieee_works=yes rd_cv_null_realloc=nope \
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes
|
|
|
|
RRDTOOL_CONF_OPT = --disable-perl --disable-python --disable-ruby \
|
|
|
|
--disable-tcl --program-transform-name=''
|
2012-08-31 10:21:35 +02:00
|
|
|
RRDTOOL_MAKE = $(MAKE1)
|
2010-06-23 22:22:16 +02:00
|
|
|
|
|
|
|
define RRDTOOL_REMOVE_EXAMPLES
|
|
|
|
rm -rf $(TARGET_DIR)/usr/share/rrdtool/examples
|
|
|
|
endef
|
|
|
|
|
|
|
|
RRDTOOL_POST_INSTALL_TARGET_HOOKS += RRDTOOL_REMOVE_EXAMPLES
|
|
|
|
|
|
|
|
define RRDTOOL_UNINSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
|
|
|
|
rm -rf $(TARGET_DIR)/usr/share/rrdtool
|
|
|
|
rm -f $(TARGET_DIR)/usr/lib/librrd*
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|