2713b53537
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
26 lines
814 B
Ruby
26 lines
814 B
Ruby
require 'formula'
|
|
|
|
class Monetdb < Formula
|
|
homepage 'http://www.monetdb.org/'
|
|
url 'http://dev.monetdb.org/downloads/sources/Oct2012-SP1/MonetDB-11.13.5.tar.bz2'
|
|
sha1 'bf2d37cc4bb5a623a9fba65bc426ba38a525c808'
|
|
|
|
head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg
|
|
|
|
depends_on 'pkg-config' => :build
|
|
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
|