blob: a76c9561f773e56f03f78c6effd3934e8e6f13d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Sqlite <Formula
url 'http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz'
md5 'ed585bb3d4e5c643843ebb1e318644ce'
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
|