2017-02-12 21:26:56 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libmaxminddb
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-05 20:40:57 +02:00
|
|
|
LIBMAXMINDDB_VERSION = 1.4.3
|
2019-11-25 19:08:12 +01:00
|
|
|
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
|
2021-01-15 07:58:41 +01:00
|
|
|
LIBMAXMINDDB_CPE_ID_VENDOR = maxmind
|
2017-02-12 21:26:56 +01:00
|
|
|
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))
|