197e473ce0
Also remove patch that has been merged upstream, disable AUTORECONF since we're no longer patching configure.ac and get rid of hack involving the install target as the 'install-data-hook' in Makefile.am now avoids running 'vnstat --showconfig' on the host in case of cross-compilation. Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
525 B
Makefile
21 lines
525 B
Makefile
################################################################################
|
|
#
|
|
# vnstat
|
|
#
|
|
################################################################################
|
|
|
|
VNSTAT_VERSION = 1.17
|
|
VNSTAT_SITE = http://humdi.net/vnstat
|
|
VNSTAT_LICENSE = GPLv2
|
|
VNSTAT_LICENSE_FILES = COPYING
|
|
VNSTAT_DEPENDENCIES = host-pkgconf
|
|
|
|
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))
|