xref: /OK3568_Linux_fs/buildroot/package/libmaxminddb/libmaxminddb.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# libmaxminddb
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLIBMAXMINDDB_VERSION = 1.6.0
8*4882a593SmuzhiyunLIBMAXMINDDB_SITE = \
9*4882a593Smuzhiyun	https://github.com/maxmind/libmaxminddb/releases/download/$(LIBMAXMINDDB_VERSION)
10*4882a593SmuzhiyunLIBMAXMINDDB_INSTALL_STAGING = YES
11*4882a593SmuzhiyunLIBMAXMINDDB_LICENSE = Apache-2.0
12*4882a593SmuzhiyunLIBMAXMINDDB_LICENSE_FILES = LICENSE
13*4882a593SmuzhiyunLIBMAXMINDDB_CPE_ID_VENDOR = maxmind
14*4882a593SmuzhiyunLIBMAXMINDDB_CONF_OPTS = --disable-tests
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun# mmdblookup binary depends on pthreads
17*4882a593Smuzhiyunifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
18*4882a593SmuzhiyunLIBMAXMINDDB_CONF_OPTS += --enable-binaries
19*4882a593Smuzhiyunelse
20*4882a593SmuzhiyunLIBMAXMINDDB_CONF_OPTS += --disable-binaries
21*4882a593Smuzhiyunendif
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun$(eval $(autotools-package))
24