mirror of
https://github.com/termux/termux-packages
synced 2024-06-15 14:36:39 +00:00
20 lines
647 B
Bash
20 lines
647 B
Bash
TERMUX_PKG_HOMEPAGE=https://duckdb.org/
|
|
TERMUX_PKG_DESCRIPTION="An in-process SQL OLAP database management system"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.8.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++, 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"
|
|
CXXFLAGS+=" -D_GLIBCXX_USE_CXX11_ABI=1"
|
|
}
|