termux-packages/packages/libdb/build.sh
2020-06-26 01:19:14 +03:00

21 lines
665 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.oracle.com/database/berkeley-db
TERMUX_PKG_DESCRIPTION="The Berkeley DB embedded database system (library)"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_VERSION=18.1.40
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/db-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8
TERMUX_PKG_BREAKS="libdb-dev"
TERMUX_PKG_REPLACES="libdb-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-hash
--enable-smallbuild
--enable-compat185
db_cv_atomic=gcc-builtin
--enable-cxx
"
TERMUX_PKG_RM_AFTER_INSTALL="docs"
termux_step_pre_configure() {
TERMUX_PKG_SRCDIR=$TERMUX_PKG_SRCDIR/dist
}