termux-packages/packages/libdb/build.sh

23 lines
739 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"
2019-04-14 20:20:10 +02:00
TERMUX_PKG_VERSION=18.1.32
TERMUX_PKG_REVISION=3
2019-04-14 20:20:10 +02:00
TERMUX_PKG_SHA256=fa1fe7de9ba91ad472c25d026f931802597c29f28ae951960685cde487c8d654
TERMUX_PKG_BREAKS="libdb-dev"
TERMUX_PKG_REPLACES="libdb-dev"
2019-04-14 20:20:10 +02:00
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/db-${TERMUX_PKG_VERSION}.tar.gz
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
"
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
}