Files
rpi-buildroot/package/libmdbx/libmdbx.mk
Леонид Юрьев (Leonid Yuriev) acb81d4a69 package/libmdbx: bump version to 0.13.4
This is stable release "Sigma Boy" of frontward libmdbx branch with new superior features.

Since 0.13.x libmdbx is licensed under the Apache 2.0 License.
For notes about the license change, credits and acknowledgments,
please refer to the COPYRIGHT file within original libmdbx source code
repository https://gitflic.ru/project/erthink/libmdbx

Please visit https://libmdbx.dqdkfa.ru for more information, changelog,
documentation, C++ API description and links to the original git repo
with the source code. Questions, feedback and suggestions are welcome
to the Telegram' group https://t.me/libmdbx.

Signed-off-by: Леонид Юрьев (Leonid Yuriev) <leo@yuriev.ru>
[Julien: remove _REDISTRIBUTE = YES to fix check-package error]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-02-16 11:55:41 +01:00

42 lines
1.2 KiB
Makefile

################################################################################
#
# libmdbx
#
################################################################################
LIBMDBX_VERSION = 0.13.4
LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz
LIBMDBX_SITE = https://libmdbx.dqdkfa.ru/release
LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO
LIBMDBX_LICENSE = Apache-2.0
LIBMDBX_LICENSE_FILES = LICENSE NOTICE
LIBMDBX_STRIP_COMPONENTS = 0
LIBMDBX_INSTALL_STAGING = YES
# Set CMAKE_BUILD_TYPE to Release to remove -Werror and avoid a build failure
# with glibc < 2.12
LIBMDBX_CONF_OPTS = \
-DCMAKE_BUILD_TYPE=Release \
-DMDBX_INSTALL_MANPAGES=OFF \
-DBUILD_FOR_NATIVE_CPU=OFF \
-DMDBX_BUILD_CXX=$(if $(BR2_PACKAGE_LIBMDBX_CXX),ON,OFF) \
-DMDBX_BUILD_TOOLS=$(if $(BR2_PACKAGE_LIBMDBX_TOOLS),ON,OFF)
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
LIBMDBX_CONF_OPTS += -DMDBX_INSTALL_STATIC=ON
else
LIBMDBX_CONF_OPTS += -DMDBX_INSTALL_STATIC=OFF
endif
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
LIBMDBX_CONF_OPTS += \
-DMDBX_BUILD_SHARED_LIBRARY=ON \
-DMDBX_LINK_TOOLS_NONSTATIC=ON
else
LIBMDBX_CONF_OPTS += \
-DMDBX_BUILD_SHARED_LIBRARY=OFF \
-DMDBX_LINK_TOOLS_NONSTATIC=OFF
endif
$(eval $(cmake-package))