package/ipcalc: add geoip support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
77f4d2f8ef
commit
d904c4d22d
@ -10,7 +10,12 @@ IPCALC_SOURCE = ipcalc-$(IPCALC_VERSION).tar.bz2
|
||||
IPCALC_LICENSE = GPL-2.0+
|
||||
IPCALC_LICENSE_FILES = COPYING
|
||||
|
||||
IPCALC_CONF_OPTS = -Duse_geoip=disabled
|
||||
ifeq ($(BR2_PACKAGE_GEOIP),y)
|
||||
IPCALC_CONF_OPTS += -Duse_geoip=enabled
|
||||
IPCALC_DEPENDENCIES += host-pkgconf geoip
|
||||
else
|
||||
IPCALC_CONF_OPTS += -Duse_geoip=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
||||
IPCALC_CONF_OPTS += -Duse_maxminddb=enabled
|
||||
|
Loading…
Reference in New Issue
Block a user