2017-02-12 21:26:56 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libmaxminddb
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-01-20 18:14:27 +01:00
|
|
|
LIBMAXMINDDB_VERSION = 1.3.2
|
2017-02-12 21:26:56 +01:00
|
|
|
LIBMAXMINDDB_SITE = $(call github,maxmind,libmaxminddb,$(LIBMAXMINDDB_VERSION))
|
|
|
|
LIBMAXMINDDB_INSTALL_STAGING = YES
|
|
|
|
LIBMAXMINDDB_LICENSE = Apache-2.0
|
|
|
|
LIBMAXMINDDB_LICENSE_FILES = LICENSE
|
2017-05-16 22:41:17 +02:00
|
|
|
# Fetched from Github, with no configure script
|
2017-02-12 21:26:56 +01:00
|
|
|
LIBMAXMINDDB_AUTORECONF = YES
|
|
|
|
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))
|