2016-11-29 20:56:21 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.sqlite.org
|
2018-06-05 23:35:16 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Library implementing a self-contained and transactional SQL database engine"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="Public Domain"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-01-17 18:09:30 +01:00
|
|
|
# Note: Updating this version requires bumping libsqlite-tcl package as well.
|
2016-08-11 00:00:45 +02:00
|
|
|
_SQLITE_MAJOR=3
|
2021-11-30 07:45:45 +01:00
|
|
|
_SQLITE_MINOR=37
|
2021-07-17 21:20:49 +02:00
|
|
|
_SQLITE_PATCH=0
|
2016-08-11 00:00:45 +02:00
|
|
|
TERMUX_PKG_VERSION=${_SQLITE_MAJOR}.${_SQLITE_MINOR}.${_SQLITE_PATCH}
|
2021-04-17 14:51:20 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.sqlite.org/2021/sqlite-autoconf-${_SQLITE_MAJOR}${_SQLITE_MINOR}0${_SQLITE_PATCH}00.tar.gz
|
2021-11-30 07:45:45 +01:00
|
|
|
TERMUX_PKG_SHA256=731a4651d4d4b36fc7d21db586b2de4dd00af31fd54fb5a9a4b7f492057479f7
|
2019-04-14 14:51:46 +02:00
|
|
|
TERMUX_PKG_DEPENDS="zlib"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libsqlite-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libsqlite-dev"
|
2017-07-09 22:41:48 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-readline
|
2021-05-08 20:12:51 +02:00
|
|
|
--enable-fts3
|
2017-07-09 22:41:48 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2021-09-28 19:59:18 +02:00
|
|
|
CPPFLAGS+=" -Werror -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1"
|
2018-06-05 23:35:16 +02:00
|
|
|
LDFLAGS+=" -lm"
|
2017-07-09 22:41:48 +02:00
|
|
|
}
|