1 ################################################################################
5 ################################################################################
7 SQLCIPHER_VERSION
= v3.2
.0
8 SQLCIPHER_SITE
= $(call github
,sqlcipher
,sqlcipher
,$(SQLCIPHER_VERSION
))
9 SQLCIPHER_DEPENDENCIES
= openssl host-tcl
10 SQLCIPHER_INSTALL_STAGING
= YES
12 SQLCIPHER_CONF_ENV
= \
13 CFLAGS
="$(TARGET_CFLAGS) $(SQLCIPHER_CFLAGS)" \
14 TCLSH_CMD
=$(HOST_DIR
)/usr
/bin
/tclsh
$(TCL_VERSION_MAJOR
)
16 SQLCIPHER_CONF_OPTS
= \
20 SQLCIPHER_CFLAGS
+= -DSQLITE_HAS_CODEC
# Required according to the README
21 SQLCIPHER_CONF_ENV
+= LIBS
="-lcrypto -lz"
23 ifeq ($(BR2_PACKAGE_SQLCIPHER_STAT3
),y
)
24 SQLCIPHER_CFLAGS
+= -DSQLITE_ENABLE_STAT3
27 ifeq ($(BR2_PACKAGE_SQLCIPHER_READLINE
),y
)
28 SQLCIPHER_DEPENDENCIES
+= ncurses readline
29 SQLCIPHER_CONF_OPTS
+= --with-readline-inc
="-I$(STAGING_DIR)/usr/include"
31 SQLCIPHER_CONF_OPTS
+= --disable-readline
34 $(eval
$(autotools-package
))