summaryrefslogtreecommitdiff
path: root/homebrew/sqlite/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sqlite/.make.sh-auto')
-rw-r--r--homebrew/sqlite/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/sqlite/.make.sh-auto b/homebrew/sqlite/.make.sh-auto
new file mode 100644
index 000000000..418bcfc98
--- /dev/null
+++ b/homebrew/sqlite/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_COLUMN_METADATA=1"
+ENV.append "CPPFLAGS", "-DSQLITE_MAX_VARIABLE_NUMBER=250000"
+ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_RTREE=1"
+ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1"
+ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_JSON1=1"
+args = %W[--prefix=#{prefix} --disable-dependency-tracking --enable-dynamic-extensions --enable-readline --disable-editline ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install