fcf01c247d
Support for vnstat is added by the services/vnstatd module in the SELinux refpolicy. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
23 lines
609 B
Makefile
23 lines
609 B
Makefile
################################################################################
|
|
#
|
|
# vnstat
|
|
#
|
|
################################################################################
|
|
|
|
VNSTAT_VERSION = 2.7
|
|
VNSTAT_SITE = http://humdi.net/vnstat
|
|
VNSTAT_LICENSE = GPL-2.0
|
|
VNSTAT_LICENSE_FILES = COPYING
|
|
VNSTAT_SELINUX_MODULES = vnstatd
|
|
VNSTAT_DEPENDENCIES = host-pkgconf sqlite
|
|
VNSTAT_CONF_OPTS = --disable-extra-paths
|
|
|
|
ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
|
|
VNSTAT_DEPENDENCIES += gd
|
|
VNSTAT_CONF_OPTS += --enable-image-output
|
|
else
|
|
VNSTAT_CONF_OPTS += --disable-image-output
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|