new package: libtdb
This commit is contained in:
parent
0b4699e744
commit
1df2bfb516
26
packages/libtdb/build.sh
Normal file
26
packages/libtdb/build.sh
Normal file
@ -0,0 +1,26 @@
|
||||
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.5
|
||||
TERMUX_PKG_SRCURL=https://samba.org/ftp/tdb/tdb-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=bcfced884f7031080998b5c4b1c5dce57567055f79417f86dba40dcde99a0e41
|
||||
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
|
||||
}
|
18
packages/libtdb/cross-answers.txt
Normal file
18
packages/libtdb/cross-answers.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Checking uname sysname type: "Linux"
|
||||
Checking uname machine type: "@TERMUX_ARCH@"
|
||||
Checking uname release type: "dontcare"
|
||||
Checking uname version type: "dontcare"
|
||||
Checking simple C program: "hello world"
|
||||
rpath library support: OK
|
||||
-Wl,--version-script support: NO
|
||||
Checking getconf LFS_CFLAGS: NO
|
||||
Checking for large file support without additional flags: OK
|
||||
Checking for -D_FILE_OFFSET_BITS=64: OK
|
||||
Checking for -D_LARGE_FILES: OK
|
||||
Checking correct behavior of strtoll: NO
|
||||
Checking for working strptime: NO
|
||||
Checking for C99 vsnprintf: OK
|
||||
Checking for HAVE_SHARED_MMAP: OK
|
||||
Checking for HAVE_MREMAP: OK
|
||||
Checking for HAVE_INCOHERENT_MMAP: NO
|
||||
Checking for HAVE_SECURE_MKSTEMP: OK
|
2
packages/libtdb/tdb-tools.subpackage.sh
Normal file
2
packages/libtdb/tdb-tools.subpackage.sh
Normal file
@ -0,0 +1,2 @@
|
||||
TERMUX_SUBPKG_INCLUDE="bin/ share/man/man8/"
|
||||
TERMUX_SUBPKG_DESCRIPTION="Tools for TDB"
|
Loading…
Reference in New Issue
Block a user