2015-01-10 14:38:46 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# vnstat
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-04-13 09:25:17 +02:00
|
|
|
VNSTAT_VERSION = 2.6
|
2015-01-10 14:38:46 +01:00
|
|
|
VNSTAT_SITE = http://humdi.net/vnstat
|
2017-03-30 15:43:32 +02:00
|
|
|
VNSTAT_LICENSE = GPL-2.0
|
2015-01-10 14:38:46 +01:00
|
|
|
VNSTAT_LICENSE_FILES = COPYING
|
2019-09-04 20:50:22 +02:00
|
|
|
VNSTAT_DEPENDENCIES = host-pkgconf sqlite
|
|
|
|
VNSTAT_CONF_OPTS = --disable-extra-paths
|
2015-01-10 14:38:46 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
|
2016-04-11 21:49:52 +02:00
|
|
|
VNSTAT_DEPENDENCIES += gd
|
2019-09-04 20:50:22 +02:00
|
|
|
VNSTAT_CONF_OPTS += --enable-image-output
|
2015-12-23 16:38:56 +01:00
|
|
|
else
|
2019-09-04 20:50:22 +02:00
|
|
|
VNSTAT_CONF_OPTS += --disable-image-output
|
2015-01-10 14:38:46 +01:00
|
|
|
endif
|
|
|
|
|
2015-12-23 16:38:56 +01:00
|
|
|
$(eval $(autotools-package))
|