Files
termux-packages/packages/liblmdb/build.sh
termux-pacman-bot 501c5c10c8 fix(main/liblmdb): fix auto update by applying TERMUX_PKG_UPDATE_VERSION_REGEXP and TERMUX_PKG_UPDATE_VERSION_SED_REGEXP
- Fixes https://github.com/termux/termux-packages/issues/27709

- This package is built from tags in the same repository as `openldap`, so only update `liblmdb` to tags beginning with `LMDB_`

%ci:no-build
2026-01-23 13:48:31 +00:00

19 lines
796 B
Bash

TERMUX_PKG_HOMEPAGE=https://symas.com/lmdb/
TERMUX_PKG_DESCRIPTION="LMDB implements a simplified variant of the BerkeleyDB (BDB) API"
TERMUX_PKG_LICENSE="OpenLDAP"
TERMUX_PKG_LICENSE_FILE="libraries/liblmdb/LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.9.33"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://git.openldap.org/openldap/openldap/-/archive/LMDB_${TERMUX_PKG_VERSION}/openldap-LMDB_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=476801f5239c88c7de61c3390502a5d13965ecedef80105b5fb0fcb8373d1e53
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="LMDB_\d+.\d+.\d+"
TERMUX_PKG_UPDATE_VERSION_SED_REGEXP="s/LMDB_//"
TERMUX_PKG_EXTRA_MAKE_ARGS="-C libraries/liblmdb"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
CPPFLAGS+=" -DMDB_USE_ROBUST=0"
}