diff --git a/libraries/libsqlcipher/LIB_DEPENDS b/libraries/libsqlcipher/LIB_DEPENDS new file mode 100644 index 00000000..e6e34500 --- /dev/null +++ b/libraries/libsqlcipher/LIB_DEPENDS @@ -0,0 +1 @@ +libcrypto diff --git a/libraries/libsqlcipher/make.sh b/libraries/libsqlcipher/make.sh new file mode 100755 index 00000000..2b9548b7 --- /dev/null +++ b/libraries/libsqlcipher/make.sh @@ -0,0 +1,16 @@ +VERSION=v4.5.5 +PKGURL="https://github.com/sqlcipher/sqlcipher/archive/refs/tags/${VERSION}.zip" +PKGHASH=efec9eb215f0e9905272a20d8a99246e7ddac87d + +package_download $PKGURL $PKGHASH +package_patch +rmifexists $SYS_PREFIX/include/sqlite3*.h + +package_configure --disable-tcl --disable-shared --enable-tempstore=always CFLAGS="-DSQLITE_HAS_CODEC" + +package_make +package_make install + +package_cleanup + +#eof