2015-01-10 14:38:46 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# vnstat
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-03-24 03:23:42 +01:00
|
|
|
VNSTAT_VERSION = 1.17
|
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
|
2016-04-11 21:49:52 +02:00
|
|
|
VNSTAT_DEPENDENCIES = host-pkgconf
|
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
|
2015-12-23 16:38:56 +01:00
|
|
|
VNSTAT_CONF_OPTS = --enable-image-output
|
|
|
|
else
|
|
|
|
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))
|