mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Fixes a potential database corruption problem and a possible performance regression caused by the introduction of automatic indexing. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
514 B
Ruby
21 lines
514 B
Ruby
require 'formula'
|
|
|
|
class Sqlite <Formula
|
|
url 'http://www.sqlite.org/sqlite-amalgamation-3.7.0.1.tar.gz'
|
|
md5 '24b589eb1522b4d9a179a621d0729dfa'
|
|
homepage 'http://www.sqlite.org/'
|
|
|
|
def options
|
|
[
|
|
["--with-rtree", "Enables the R*Tree index module"]
|
|
]
|
|
end
|
|
|
|
def install
|
|
ENV.append "CFLAGS", "-DSQLITE_ENABLE_RTREE=1" if ARGV.include? "--with-rtree"
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|