mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
e44d29f553
This commit has been automatically submitted by Github Actions.
28 lines
820 B
Bash
28 lines
820 B
Bash
TERMUX_PKG_HOMEPAGE=https://tdb.samba.org/
|
|
TERMUX_PKG_DESCRIPTION="A trivial database system"
|
|
TERMUX_PKG_LICENSE="LGPL-3.0, GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.4.12"
|
|
TERMUX_PKG_SRCURL=https://samba.org/ftp/tdb/tdb-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=6ce4b27498812d09237ece65a0d6dfac0941610e709848ecb822aa241084cd7a
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="libbsd"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--cross-compile
|
|
--cross-answers cross-answers.txt
|
|
--disable-python
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
sed 's:@TERMUX_ARCH@:'$TERMUX_ARCH':g' \
|
|
$TERMUX_PKG_BUILDER_DIR/cross-answers.txt > cross-answers.txt
|
|
}
|
|
|
|
termux_step_configure() {
|
|
./configure \
|
|
--prefix=$TERMUX_PREFIX \
|
|
--host=$TERMUX_HOST_PLATFORM \
|
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
|
|
}
|