summaryrefslogtreecommitdiff
path: root/repo/system/sqlite3.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-06 15:21:10 +0000
committerdavidovski <david@davidovski.xyz>2022-03-06 15:21:10 +0000
commit75e7bb9c72d562d397f9fb62072ab114cfbc6244 (patch)
treec2af33a2c487d2b411e3be0900f675c41ca5ab4f /repo/system/sqlite3.xibuild
parentce1ac2b89b42e4e05ba706b7bbdcc39cd2e64e8b (diff)
fixed python compilation for js78
Diffstat (limited to 'repo/system/sqlite3.xibuild')
-rw-r--r--repo/system/sqlite3.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/system/sqlite3.xibuild b/repo/system/sqlite3.xibuild
new file mode 100644
index 0000000..12f7210
--- /dev/null
+++ b/repo/system/sqlite3.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="libedit"
+
+PKG_VER=3370200
+SOURCE=https://sqlite.org/2022/sqlite-autoconf-$PKG_VER.tar.gz
+DESC="Small suite of programs for UNIX, designed to allow process supervision"
+
+build () {
+ ./configure --prefix=/usr \
+ --disable-static \
+ --enable-fts5 \
+ CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
+ -DSQLITE_ENABLE_FTS4=1 \
+ -DSQLITE_ENABLE_COLUMN_METADATA=1 \
+ -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
+ -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
+ -DSQLITE_SECURE_DELETE=1 \
+ -DSQLITE_ENABLE_FTS3_TOKENIZER=1" &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}