termux-packages/packages/liblmdb/build.sh
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00

18 lines
684 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_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.9.24
TERMUX_PKG_SRCURL=https://github.com/LMDB/lmdb/archive/LMDB_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=44602436c52c29d4f301f55f6fd8115f945469b868348e3cddaf91ab2473ea26
TERMUX_PKG_EXTRA_MAKE_ARGS="-C $TERMUX_PKG_SRCDIR/libraries/liblmdb"
termux_step_pre_configure() {
CPPFLAGS+=" -DMDB_USE_ROBUST=0"
}
termux_step_install_license() {
install -Dm600 "$TERMUX_PKG_SRCDIR/libraries/liblmdb/LICENSE" \
"$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE"
}