homebrew-core/Formula/drizzle.rb

33 lines
767 B
Ruby
Raw Normal View History

require 'formula'
class LionOrNewer < Requirement
2013-01-20 02:45:59 +00:00
satisfy MacOS.version >= :lion
def message
"Drizzle requires Mac OS X 10.7 (Lion) or newer."
end
end
2011-03-10 05:11:03 +00:00
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'
2013-02-03 20:39:40 +00:00
depends_on 'intltool' => :build
2013-01-27 22:42:32 +00:00
depends_on LionOrNewer
# https://github.com/mxcl/homebrew/issues/14289
depends_on 'boost149'
2013-02-03 20:39:40 +00:00
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