Added --with-fts option to sqlite3 formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
e9251d6c68
commit
8222e5b74d
|
@ -8,12 +8,14 @@ class Sqlite <Formula
|
|||
def options
|
||||
[
|
||||
["--with-rtree", "Enables the R*Tree index module"],
|
||||
["--with-fts", "Enables the FTS Module"],
|
||||
["--universal", "Build a universal binary."]
|
||||
]
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.append "CFLAGS", "-DSQLITE_ENABLE_RTREE=1" if ARGV.include? "--with-rtree"
|
||||
ENV.append "CPPFLAGS","-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" if ARGV.include? "--with-fts"
|
||||
ENV.universal_binary if ARGV.include? "--universal"
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--disable-dependency-tracking"
|
||||
|
|
Loading…
Reference in New Issue