~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coreutils: Update from 8.27 to 8.28
[termux-packages]
/
packages
/
libsqlite
/
build.sh
diff --git
a/packages/libsqlite/build.sh
b/packages/libsqlite/build.sh
index
20e3563
..
0d1285f
100755
(executable)
--- a/
packages/libsqlite/build.sh
+++ b/
packages/libsqlite/build.sh
@@
-3,17
+3,23
@@
TERMUX_PKG_DESCRIPTION="Software library that implements a self-contained, serve
# Note: Updating this version requires bumping the tcl package as well.
_SQLITE_MAJOR=3
_SQLITE_MINOR=20
# Note: Updating this version requires bumping the tcl package as well.
_SQLITE_MAJOR=3
_SQLITE_MINOR=20
-_SQLITE_PATCH=
0
+_SQLITE_PATCH=
1
TERMUX_PKG_VERSION=${_SQLITE_MAJOR}.${_SQLITE_MINOR}.${_SQLITE_PATCH}
TERMUX_PKG_VERSION=${_SQLITE_MAJOR}.${_SQLITE_MINOR}.${_SQLITE_PATCH}
+TERMUX_PKG_SHA256=ec66595b29bc0798b023a5122021ea646ab4fa9e2f735937c5426feeba950742
TERMUX_PKG_SRCURL=https://www.sqlite.org/2017/sqlite-autoconf-${_SQLITE_MAJOR}${_SQLITE_MINOR}0${_SQLITE_PATCH}00.tar.gz
TERMUX_PKG_SRCURL=https://www.sqlite.org/2017/sqlite-autoconf-${_SQLITE_MAJOR}${_SQLITE_MINOR}0${_SQLITE_PATCH}00.tar.gz
-TERMUX_PKG_SHA256=3814c6f629ff93968b2b37a70497cfe98b366bf587a2261a56a5f750af6ae6a0
# ac_cv_func_strerror_r=no as strerror_r() with the
# GNU signature is only # available in android-23:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_func_strerror_r=no
--enable-readline
"
# ac_cv_func_strerror_r=no as strerror_r() with the
# GNU signature is only # available in android-23:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_func_strerror_r=no
--enable-readline
"
+TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="src/libsqlite/tclsqlite3.c"
termux_step_pre_configure() {
CPPFLAGS+=" -Werror"
}
termux_step_pre_configure() {
CPPFLAGS+=" -Werror"
}
+
+termux_step_post_make_install () {
+ mkdir -p $TERMUX_PREFIX/src/libsqlite
+ cp $TERMUX_PKG_SRCDIR/tea/generic/tclsqlite3.c $TERMUX_PREFIX/src/libsqlite/tclsqlite3.c
+}