termux-packages/packages/libdb/build.sh

20 lines
630 B
Bash
Raw Normal View History

2017-02-26 12:05:24 +01:00
TERMUX_PKG_HOMEPAGE=https://www.oracle.com/database/berkeley-db
2017-02-26 12:33:40 +01:00
TERMUX_PKG_DESCRIPTION="The Berkeley DB embedded database system (library)"
TERMUX_PKG_LICENSE="BSD 3-Clause"
2020-06-26 00:19:14 +02:00
TERMUX_PKG_VERSION=18.1.40
2020-01-13 02:00:07 +01:00
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/db-${TERMUX_PKG_VERSION}.tar.gz
2020-06-26 00:19:14 +02:00
TERMUX_PKG_SHA256=0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8
TERMUX_PKG_BREAKS="libdb-dev"
TERMUX_PKG_REPLACES="libdb-dev"
2017-02-26 12:33:40 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-hash
--enable-smallbuild
--enable-compat185
2017-02-26 12:33:40 +01:00
db_cv_atomic=gcc-builtin
2018-04-10 14:21:43 +02:00
--enable-cxx
2017-02-26 12:33:40 +01:00
"
2017-02-26 12:05:24 +01:00
termux_step_pre_configure() {
2017-02-26 12:33:40 +01:00
TERMUX_PKG_SRCDIR=$TERMUX_PKG_SRCDIR/dist
2017-02-26 12:05:24 +01:00
}