2011-09-30 09:31:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Monetdb < Formula
|
|
|
|
homepage 'http://www.monetdb.org/'
|
2013-07-11 13:59:30 +00:00
|
|
|
url 'http://dev.monetdb.org/downloads/sources/Feb2013-SP3/MonetDB-11.15.11.zip'
|
|
|
|
sha1 '12f5a2e65a5a4fa8c67303af5e0b4ea1fe12672b'
|
2011-09-30 09:31:48 +00:00
|
|
|
|
|
|
|
head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg
|
|
|
|
|
2012-08-30 22:16:47 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-09-30 09:31:48 +00:00
|
|
|
depends_on 'pcre'
|
2012-11-11 03:12:26 +00:00
|
|
|
depends_on 'readline' # Compilation fails with libedit.
|
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
|
|
|
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--enable-debug=no",
|
|
|
|
"--enable-assert=no",
|
|
|
|
"--enable-optimize=yes",
|
2012-06-09 15:10:12 +00:00
|
|
|
"--enable-testing=no",
|
2012-08-16 19:09:37 +00:00
|
|
|
"--disable-jaql",
|
2012-06-09 15:10:12 +00:00
|
|
|
"--without-rubygem"
|
2011-09-30 09:31:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|