X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Frrdtool%2Frrdtool.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Frrdtool%2Frrdtool.mk;h=e4226946ff3c12aed6c1cd204394365577f8640c;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/rrdtool/rrdtool.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/rrdtool/rrdtool.mk new file mode 100644 index 0000000..e422694 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/rrdtool/rrdtool.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# rrdtool +# +################################################################################ + +RRDTOOL_VERSION = 1.2.30 +RRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub +RRDTOOL_LICENSE = GPLv2+ with FLOSS license exceptions as explained in COPYRIGHT +RRDTOOL_LICENSE_FILES = COPYING COPYRIGHT + +RRDTOOL_DEPENDENCIES = host-pkgconf freetype libart libpng zlib +RRDTOOL_AUTORECONF = YES +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_OPTS = \ + --disable-perl \ + --disable-python \ + --disable-ruby \ + --disable-tcl \ + --program-transform-name='' \ + $(if $(BR2_TOOLCHAIN_HAS_THREADS),,--disable-pthread) +RRDTOOL_MAKE = $(MAKE1) + +define RRDTOOL_REMOVE_EXAMPLES + rm -rf $(TARGET_DIR)/usr/share/rrdtool/examples +endef + +RRDTOOL_POST_INSTALL_TARGET_HOOKS += RRDTOOL_REMOVE_EXAMPLES + +$(eval $(autotools-package))