homebrew-core/Formula/monetdb.rb

28 lines
829 B
Ruby

require 'formula'
class Monetdb < Formula
homepage 'http://www.monetdb.org/'
url 'http://dev.monetdb.org/downloads/sources/Feb2013-SP6/MonetDB-11.15.19.zip'
sha1 '2c90f4b0a02958a933f9386ac980833a50418310'
head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg
depends_on 'pkg-config' => :build
depends_on :ant
depends_on 'pcre'
depends_on 'readline' # Compilation fails with libedit.
def install
system "./bootstrap" if build.head?
system "./configure", "--prefix=#{prefix}",
"--enable-debug=no",
"--enable-assert=no",
"--enable-optimize=yes",
"--enable-testing=no",
"--disable-jaql",
"--without-rubygem"
system "make install"
end
end