mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
40
package/rrdtool/Config.in
Normal file
40
package/rrdtool/Config.in
Normal file
@@ -0,0 +1,40 @@
|
||||
config BR2_PACKAGE_RRDTOOL
|
||||
bool "rrdtool"
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
RRDtool is the OpenSource industry standard, high performance
|
||||
data logging and graphing system for time series data.
|
||||
|
||||
http://oss.oetiker.ch/rrdtool/
|
||||
|
||||
if BR2_PACKAGE_RRDTOOL
|
||||
|
||||
config BR2_PACKAGE_RRDTOOL_RRDGRAPH
|
||||
bool "rrd_graph"
|
||||
default y
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz
|
||||
depends on BR2_INSTALL_LIBSTDCPP # freetype support from pango
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_CAIRO_PDF
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
select BR2_PACKAGE_CAIRO_PS
|
||||
select BR2_PACKAGE_CAIRO_SVG
|
||||
select BR2_PACKAGE_PANGO
|
||||
help
|
||||
This enables the graphing capabilities ('rrdgraph').
|
||||
Without this it will only act as a database backend.
|
||||
|
||||
comment "rrd_graph support needs a toolchain w/ C++, gcc >= 4.8"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
|
||||
endif
|
||||
|
||||
comment "rrdtool needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
package/rrdtool/rrdtool.hash
Normal file
4
package/rrdtool/rrdtool.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated sha256
|
||||
sha256 f97d348935b91780f2cd80399719e20c0b91f0a23537c0a85f9ff306d4c5526b rrdtool-1.7.0.tar.gz
|
||||
sha256 884385795ee48cd820082e8823bc748cd20574112da2cc7d2ef505b47b1058c3 COPYRIGHT
|
||||
sha256 14079d501f3092405a192463603f66e13da88fc5894981e2962e2e6aec4ab178 LICENSE
|
||||
40
package/rrdtool/rrdtool.mk
Normal file
40
package/rrdtool/rrdtool.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# rrdtool
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RRDTOOL_VERSION = 1.7.0
|
||||
RRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub
|
||||
RRDTOOL_LICENSE = GPL-2.0+ with FLOSS license exceptions as explained in COPYRIGHT
|
||||
RRDTOOL_LICENSE_FILES = COPYRIGHT LICENSE
|
||||
RRDTOOL_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES)
|
||||
# autoreconf needed to avoid link failure due to missing -lintl,
|
||||
# gettextize needed as a consequence of autoreconf
|
||||
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))
|
||||
Reference in New Issue
Block a user