blob: ed929ef415605bb55f8b2597b85ce3a3fbd1cf77 (
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
|
require 'formula'
class LionOrNewer < Requirement
satisfy MacOS.version >= :lion
def message
"Drizzle requires Mac OS X 10.7 (Lion) or newer."
end
end
class Drizzle < Formula
homepage 'http://drizzle.org'
url 'https://launchpad.net/drizzle/7.1/7.1.36/+download/drizzle-7.1.36-stable.tar.gz'
sha1 '6ce317d6a6b0560e75d5bcf44af2e278443cfbfe'
depends_on 'intltool' => :build
depends_on LionOrNewer
# https://github.com/mxcl/homebrew/issues/14289
depends_on 'boost149'
depends_on 'protobuf'
depends_on 'libevent'
depends_on 'pcre'
depends_on 'libgcrypt'
depends_on 'readline'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|