generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
18
package/libmaxminddb/Config.in
Normal file
18
package/libmaxminddb/Config.in
Normal file
@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_LIBMAXMINDDB
|
||||
bool "libmaxminddb"
|
||||
help
|
||||
C library for the MaxMind DB file format
|
||||
|
||||
The libmaxminddb library provides a C library for reading
|
||||
MaxMind DB files, including the GeoIP2 databases from
|
||||
MaxMind. This is a custom binary format designed to
|
||||
facilitate fast lookups of IP addresses while allowing for
|
||||
great flexibility in the type of data associated with an
|
||||
address.
|
||||
|
||||
The MaxMind DB format is an open format. The spec is
|
||||
available at http://maxmind.github.io/MaxMind-DB/. This spec
|
||||
is licensed under the Creative Commons
|
||||
Attribution-ShareAlike 3.0 Unported License.
|
||||
|
||||
http://maxmind.github.io/libmaxminddb
|
||||
3
package/libmaxminddb/libmaxminddb.hash
Normal file
3
package/libmaxminddb/libmaxminddb.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 7620ac187c591ce21bcd7bf352376a3c56a933e684558a1f6bef4bd4f3f98267 libmaxminddb-1.6.0.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
23
package/libmaxminddb/libmaxminddb.mk
Normal file
23
package/libmaxminddb/libmaxminddb.mk
Normal file
@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# libmaxminddb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBMAXMINDDB_VERSION = 1.6.0
|
||||
LIBMAXMINDDB_SITE = \
|
||||
https://github.com/maxmind/libmaxminddb/releases/download/$(LIBMAXMINDDB_VERSION)
|
||||
LIBMAXMINDDB_INSTALL_STAGING = YES
|
||||
LIBMAXMINDDB_LICENSE = Apache-2.0
|
||||
LIBMAXMINDDB_LICENSE_FILES = LICENSE
|
||||
LIBMAXMINDDB_CPE_ID_VENDOR = maxmind
|
||||
LIBMAXMINDDB_CONF_OPTS = --disable-tests
|
||||
|
||||
# mmdblookup binary depends on pthreads
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBMAXMINDDB_CONF_OPTS += --enable-binaries
|
||||
else
|
||||
LIBMAXMINDDB_CONF_OPTS += --disable-binaries
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user