termux-packages/packages/libdb/build.sh

20 lines
671 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"
2017-02-26 12:33:40 +01:00
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_VERSION=6.2.32
2019-03-02 13:52:38 +01:00
TERMUX_PKG_REVISION=1
2017-02-26 12:33:40 +01:00
TERMUX_PKG_SRCURL=http://download.oracle.com/berkeley-db/db-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a9c5e2b004a5777aa03510cfe5cd766a4a3b777713406b02809c17c8e0e7a8fb
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
"
TERMUX_PKG_RM_AFTER_INSTALL="docs"
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
}