aboutsummaryrefslogtreecommitdiff
path: root/extra/sqlite
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-22 19:48:04 +0300
committerCem Keylan <cem@ckyln.com>2021-09-22 19:48:04 +0300
commitfac8b0e98415d80a73bb8496a89aa66796083f5b (patch)
tree8d8277e34937927311c78b758082bf593861afa6 /extra/sqlite
parent5a38105454f9c49b94da9ed8f316ac222d2109ff (diff)
downloadrepository-fac8b0e98415d80a73bb8496a89aa66796083f5b.tar.gz
sqlite: merge sqlite-docs package
Diffstat (limited to 'extra/sqlite')
-rwxr-xr-xextra/sqlite/build12
-rw-r--r--extra/sqlite/checksums1
-rw-r--r--extra/sqlite/sources1
3 files changed, 12 insertions, 2 deletions
diff --git a/extra/sqlite/build b/extra/sqlite/build
index 6ac4e05a..3e1cb1b8 100755
--- a/extra/sqlite/build
+++ b/extra/sqlite/build
@@ -2,8 +2,7 @@
export CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1"
-sed 's/ -ltinfo//g' configure > _
-cat _ > configure; rm -f _
+clsed 's/ -ltinfo//g' configure
./configure \
--prefix=/usr \
@@ -13,3 +12,12 @@ cat _ > configure; rm -f _
make
make DESTDIR="$1" install
+
+# Build sqlite manual pages
+cd mdoc
+
+./configure
+make
+
+mkdir -p "$1/usr/share/man/man3"
+./sqlite2mdoc -p "$1/usr/share/man/man3" "$1/usr/include/sqlite3.h"
diff --git a/extra/sqlite/checksums b/extra/sqlite/checksums
index 600d593f..4fbb637c 100644
--- a/extra/sqlite/checksums
+++ b/extra/sqlite/checksums
@@ -1 +1,2 @@
bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 sqlite-autoconf-3360000.tar.gz
+8f24f63ecb9c87475a193564b12a298844a795dff4354409faaddefb2adec829 VERSION_0_1_8.tar.gz
diff --git a/extra/sqlite/sources b/extra/sqlite/sources
index 84fc70ab..6d289773 100644
--- a/extra/sqlite/sources
+++ b/extra/sqlite/sources
@@ -1 +1,2 @@
https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
+https://github.com/kristapsdz/sqlite2mdoc/archive/refs/tags/VERSION_0_1_8.tar.gz mdoc