mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/ipcalc: add libmaxminddb support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ee5efd4bbb
commit
77f4d2f8ef
@@ -10,8 +10,13 @@ IPCALC_SOURCE = ipcalc-$(IPCALC_VERSION).tar.bz2
|
|||||||
IPCALC_LICENSE = GPL-2.0+
|
IPCALC_LICENSE = GPL-2.0+
|
||||||
IPCALC_LICENSE_FILES = COPYING
|
IPCALC_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
IPCALC_CONF_OPTS = \
|
IPCALC_CONF_OPTS = -Duse_geoip=disabled
|
||||||
-Duse_maxminddb=disabled \
|
|
||||||
-Duse_geoip=disabled
|
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
||||||
|
IPCALC_CONF_OPTS += -Duse_maxminddb=enabled
|
||||||
|
IPCALC_DEPENDENCIES += host-pkgconf libmaxminddb
|
||||||
|
else
|
||||||
|
IPCALC_CONF_OPTS += -Duse_maxminddb=disabled
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(meson-package))
|
$(eval $(meson-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user