2020-05-07 21:20:56 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/sqlcipher/sqlcipher
|
|
|
|
TERMUX_PKG_DESCRIPTION="SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files"
|
|
|
|
TERMUX_PKG_LICENSE="BSD"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-14 22:22:17 +02:00
|
|
|
TERMUX_PKG_VERSION=4.5.1
|
2020-05-07 21:20:56 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/sqlcipher/sqlcipher/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2022-04-14 22:22:17 +02:00
|
|
|
TERMUX_PKG_SHA256=023499516ef2ade14fbcdbe93fb81cc69458ae6cb3544614df8dbef34835b406
|
2021-12-11 13:59:04 +01:00
|
|
|
TERMUX_PKG_DEPENDS="openssl"
|
2020-12-07 23:54:34 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="tcl"
|
2022-04-14 22:22:17 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
2020-12-07 23:54:34 +01:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-tempstore=yes
|
|
|
|
--with-tcl=${TERMUX_PREFIX}/lib
|
|
|
|
TCLLIBDIR=${TERMUX_PREFIX}/lib/tcl8.6/sqlite
|
|
|
|
"
|
2020-05-07 21:20:56 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CPPFLAGS+=" -DSQLITE_HAS_CODEC"
|
|
|
|
}
|