2014-11-03 04:42:04 +00:00
|
|
|
require "formula"
|
2011-09-30 09:31:48 +00:00
|
|
|
|
|
|
|
class Monetdb < Formula
|
2014-11-03 04:42:04 +00:00
|
|
|
homepage "https://www.monetdb.org/"
|
|
|
|
url "https://dev.monetdb.org/downloads/sources/Oct2014/MonetDB-11.19.3.zip"
|
|
|
|
sha1 "f8290358c1773afc2679d9cbfea456c691f50527"
|
2011-09-30 09:31:48 +00:00
|
|
|
|
2014-08-08 22:56:45 +00:00
|
|
|
bottle do
|
2014-11-03 06:47:22 +00:00
|
|
|
sha1 "e5802401b81d035fe81a9a708dd647128a0a4302" => :yosemite
|
|
|
|
sha1 "ecefa004cd231e9ad1eef530ae9194f5e3db8c13" => :mavericks
|
|
|
|
sha1 "484c94edf77b0acb72aa0e0cb7a8017c149be95c" => :mountain_lion
|
2014-08-08 22:56:45 +00:00
|
|
|
end
|
|
|
|
|
2014-11-03 04:42:04 +00:00
|
|
|
head "http://dev.monetdb.org/hg/MonetDB", :using => :hg
|
2011-09-30 09:31:48 +00:00
|
|
|
|
2014-11-03 04:42:04 +00:00
|
|
|
option "with-java"
|
2014-03-16 16:15:07 +00:00
|
|
|
|
2014-11-03 04:42:04 +00:00
|
|
|
depends_on "pkg-config" => :build
|
2014-05-30 19:58:04 +00:00
|
|
|
depends_on :ant => :build
|
2014-11-03 04:42:04 +00:00
|
|
|
depends_on "pcre"
|
|
|
|
depends_on "readline" # Compilation fails with libedit.
|
|
|
|
depends_on "openssl"
|
2011-09-30 09:31:48 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-26 06:31:24 +00:00
|
|
|
system "./bootstrap" if build.head?
|
2011-09-30 09:31:48 +00:00
|
|
|
|
2014-03-16 16:15:07 +00:00
|
|
|
args = ["--prefix=#{prefix}",
|
|
|
|
"--enable-debug=no",
|
|
|
|
"--enable-assert=no",
|
|
|
|
"--enable-optimize=yes",
|
|
|
|
"--enable-testing=no",
|
|
|
|
"--disable-jaql",
|
|
|
|
"--without-rubygem"]
|
|
|
|
|
2014-11-03 04:42:04 +00:00
|
|
|
args << "--with-java=no" if build.without? "java"
|
2014-03-16 16:15:07 +00:00
|
|
|
|
|
|
|
system "./configure", *args
|
2011-09-30 09:31:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|