python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / sqlcipher / sqlcipher.mk
blob196f16275b1b2567a7def7a9e266b348c450d97f
1 ################################################################################
3 # sqlcipher
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 = \
17 --enable-threadsafe \
18 --disable-tcl
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
25 endif
27 ifeq ($(BR2_PACKAGE_SQLCIPHER_READLINE),y)
28 SQLCIPHER_DEPENDENCIES += ncurses readline
29 SQLCIPHER_CONF_OPTS += --with-readline-inc="-I$(STAGING_DIR)/usr/include"
30 else
31 SQLCIPHER_CONF_OPTS += --disable-readline
32 endif
34 $(eval $(autotools-package))