libduckdb: enable various extensions (#15433)

* libduckdb: enable various extensions

* libduckdb: move cmake flags to build.sh
This commit is contained in:
Elliana May 2023-03-06 13:35:33 +08:00 committed by GitHub
parent c5701085e2
commit 14c1e5e88b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -3,9 +3,16 @@ TERMUX_PKG_DESCRIPTION="An in-process SQL OLAP database management system"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.1
TERMUX_PKG_REVISION=1
# we clone to retain the .git directory, to ensure the version in the built executable is correctly populated
TERMUX_PKG_SRCURL=git+https://github.com/duckdb/duckdb
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_DEPENDS="libc++, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_ICU_EXTENSION=TRUE
-DBUILD_PARQUET_EXTENSION=TRUE
-DBUILD_HTTPFS_EXTENSION=TRUE
-DBUILD_JSON_EXTENSION=TRUE
"
termux_step_pre_configure() {
LDFLAGS+=" -llog"