2017-02-12 21:26:56 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libmaxminddb
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-11-25 19:08:12 +01:00
|
|
|
LIBMAXMINDDB_VERSION = 1.4.2
|
|
|
|
LIBMAXMINDDB_SITE = \
|
|
|
|
https://github.com/maxmind/libmaxminddb/releases/download/$(LIBMAXMINDDB_VERSION)
|
2017-02-12 21:26:56 +01:00
|
|
|
LIBMAXMINDDB_INSTALL_STAGING = YES
|
|
|
|
LIBMAXMINDDB_LICENSE = Apache-2.0
|
|
|
|
LIBMAXMINDDB_LICENSE_FILES = LICENSE
|
|
|
|
LIBMAXMINDDB_CONF_OPTS = --disable-tests
|
|
|
|
|
2018-02-02 19:12:32 +01:00
|
|
|
# mmdblookup binary depends on pthreads
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
LIBMAXMINDDB_CONF_OPTS += --enable-binaries
|
|
|
|
else
|
|
|
|
LIBMAXMINDDB_CONF_OPTS += --disable-binaries
|
|
|
|
endif
|
|
|
|
|
2017-02-12 21:26:56 +01:00
|
|
|
$(eval $(autotools-package))
|