sqlcipher: need tcl installation + fix plugin path

This commit is contained in:
Leonid Pliushch 2020-12-07 22:54:34 +00:00
parent c1b91b9875
commit ac75989f45
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -5,7 +5,13 @@ TERMUX_PKG_VERSION=4.4.2
TERMUX_PKG_SRCURL=https://github.com/sqlcipher/sqlcipher/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=87458e0e16594b3ba6c7a1f046bc1ba783d002d35e0e7b61bb6b7bb862f362a7
TERMUX_PKG_DEPENDS="libsqlite, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-tempstore=yes"
TERMUX_PKG_BUILD_DEPENDS="tcl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-tempstore=yes
--with-tcl=${TERMUX_PREFIX}/lib
TCLLIBDIR=${TERMUX_PREFIX}/lib/tcl8.6/sqlite
"
termux_step_pre_configure() {
CPPFLAGS+=" -DSQLITE_HAS_CODEC"