2011-09-30 09:31:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Monetdb < Formula
|
|
|
|
homepage 'http://www.monetdb.org/'
|
2013-03-30 16:25:14 +00:00
|
|
|
url 'http://dev.monetdb.org/downloads/sources/Feb2013-SP1/MonetDB-11.15.3.zip'
|
|
|
|
sha1 '2bc2e7bbdfc475c9d195e9d5d36a39757746cb0a'
|
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
|