aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/monetdb.rb
blob: c769c0e10977250f75ff75c3c52766f1bd9038ac (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
require 'formula'

class Monetdb < Formula
  url 'http://dev.monetdb.org/downloads/sources/Dec2011/MonetDB-11.7.5.tar.bz2'
  sha1 '67444140c9ef015c7e18bc26faa69f33c1a1220c'
  homepage 'http://www.monetdb.org/'

  head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg

  depends_on 'pcre'

  # Compilation fails with the libedit library provided by OSX.
  depends_on 'readline'

  def install
    system "./bootstrap" if ARGV.build_head?

    system "./configure", "--prefix=#{prefix}",
                          "--enable-debug=no",
                          "--enable-assert=no",
                          "--enable-optimize=yes",
                          "--enable-testing=no"
    system "make install"
  end
end