2015-01-13 11:53:57 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# leveldb
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-10-12 14:59:43 +02:00
|
|
|
LEVELDB_VERSION = 1.22
|
|
|
|
LEVELDB_SITE = $(call github,google,leveldb,$(LEVELDB_VERSION))
|
2017-03-30 15:43:38 +02:00
|
|
|
LEVELDB_LICENSE = BSD-3-Clause
|
2015-01-13 11:53:57 +01:00
|
|
|
LEVELDB_LICENSE_FILES = LICENSE
|
|
|
|
LEVELDB_INSTALL_STAGING = YES
|
2019-12-27 10:39:59 +01:00
|
|
|
LEVELDB_CONF_OPTS = \
|
|
|
|
-DLEVELDB_BUILD_BENCHMARKS=OFF \
|
|
|
|
-DLEVELDB_BUILD_TESTS=OFF
|
2015-01-13 11:53:57 +01:00
|
|
|
|
2020-05-18 07:22:01 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
|
|
|
LEVELDB_DEPENDENCIES += snappy
|
|
|
|
endif
|
|
|
|
|
2019-10-12 14:59:43 +02:00
|
|
|
$(eval $(cmake-package))
|