blob: 66322b5f48e2943a9fb827e1f1dcb70544de16a6 (
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
|
require 'formula'
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 'protobuf'
# https://github.com/mxcl/homebrew/issues/14289
depends_on 'boost149'
depends_on 'libevent'
depends_on 'pcre'
depends_on 'intltool'
depends_on 'libgcrypt'
depends_on 'readline'
def install
old_boost = Formula.factory('boost149')
ENV.append 'LDFLAGS', "-L#{old_boost.prefix}/lib"
ENV.append 'CPPFLAGS', "-I#{old_boost.prefix}/include"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|