blob: 1b2105912d553836b3c7d2d787d00488bc458b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
require 'formula'
class Libzdb < Formula
homepage 'http://tildeslash.com/libzdb/'
url 'http://tildeslash.com/libzdb/dist/libzdb-3.0.tar.gz'
sha1 'bcf14c11cfcd0c05ecc8740f43cd0d6170406dc1'
bottle do
cellar :any
revision 1
sha1 "e733947b31862fd1c8964872a29bd8aa5479635c" => :yosemite
sha1 "aa3ccc94e86d2158c1041474c79cdccb25e5d0b1" => :mavericks
sha1 "4ab2279dae830f543cc9fec5d41197150163bf83" => :mountain_lion
end
depends_on :postgresql => :recommended
depends_on :mysql => :recommended
depends_on 'sqlite' => :recommended
def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << "--without-postgresql" if build.without? 'postgresql'
args << "--without-mysql" if build.without? 'mysql'
args << "--without-sqlite" if build.without? 'sqlite'
system "./configure", *args
system "make install"
end
end
|