termux-packages/packages/sqlcipher/build.sh

20 lines
704 B
Bash
Raw Normal View History

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"
TERMUX_PKG_MAINTAINER="@termux"
2021-05-05 16:38:16 +02:00
TERMUX_PKG_VERSION=4.4.3
TERMUX_PKG_SRCURL=https://github.com/sqlcipher/sqlcipher/archive/v$TERMUX_PKG_VERSION.tar.gz
2021-05-05 16:38:16 +02:00
TERMUX_PKG_SHA256=b8df69b998c042ce7f8a99f07cf11f45dfebe51110ef92de95f1728358853133
TERMUX_PKG_DEPENDS="libsqlite, openssl"
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"
}