![Bernd Kuhls](/assets/img/avatar_default.png)
Added license hash. vnstat as of version 2.0 requires sqlite:bb24d7bd0f
Added --disable-extra-paths to _CONF_OPTS to prevent build error:fffc15d877
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
22 lines
576 B
Makefile
22 lines
576 B
Makefile
################################################################################
|
|
#
|
|
# vnstat
|
|
#
|
|
################################################################################
|
|
|
|
VNSTAT_VERSION = 2.4
|
|
VNSTAT_SITE = http://humdi.net/vnstat
|
|
VNSTAT_LICENSE = GPL-2.0
|
|
VNSTAT_LICENSE_FILES = COPYING
|
|
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))
|