xref: /OK3568_Linux_fs/buildroot/package/rrdtool/rrdtool.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# rrdtool
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRRDTOOL_VERSION = 1.7.2
8*4882a593SmuzhiyunRRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub
9*4882a593SmuzhiyunRRDTOOL_LICENSE = GPL-2.0+ with FLOSS license exceptions as explained in COPYRIGHT
10*4882a593SmuzhiyunRRDTOOL_LICENSE_FILES = COPYRIGHT LICENSE
11*4882a593SmuzhiyunRRDTOOL_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES)
12*4882a593Smuzhiyun# autoreconf needed to avoid link failure due to missing -lintl,
13*4882a593Smuzhiyun# gettextize needed as a consequence of autoreconf
14*4882a593SmuzhiyunRRDTOOL_AUTORECONF = YES
15*4882a593SmuzhiyunRRDTOOL_GETTEXTIZE = YES
16*4882a593SmuzhiyunRRDTOOL_INSTALL_STAGING = YES
17*4882a593SmuzhiyunRRDTOOL_CONF_OPTS = \
18*4882a593Smuzhiyun	--disable-examples \
19*4882a593Smuzhiyun	--disable-libdbi \
20*4882a593Smuzhiyun	--disable-librados \
21*4882a593Smuzhiyun	--disable-libwrap \
22*4882a593Smuzhiyun	--disable-lua \
23*4882a593Smuzhiyun	--disable-perl \
24*4882a593Smuzhiyun	--disable-python \
25*4882a593Smuzhiyun	--disable-ruby \
26*4882a593Smuzhiyun	--disable-tcl
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_RRDTOOL_RRDGRAPH),y)
29*4882a593SmuzhiyunRRDTOOL_DEPENDENCIES += cairo pango
30*4882a593Smuzhiyunelse
31*4882a593SmuzhiyunRRDTOOL_CONF_OPTS += --disable-rrd_graph
32*4882a593Smuzhiyunendif
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBXML2),y)
35*4882a593SmuzhiyunRRDTOOL_DEPENDENCIES += libxml2
36*4882a593Smuzhiyunelse
37*4882a593SmuzhiyunRRDTOOL_CONF_OPTS += --disable-rrd_restore
38*4882a593Smuzhiyunendif
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun$(eval $(autotools-package))
41