aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStefan2014-03-16 17:15:07 +0100
committerMike McQuaid2014-03-16 17:00:45 +0000
commit6441cebcb34592c0e7cf2dc2ca6f0d9fcee9914e (patch)
treeae72fdc009e7de4212dc6e25ce23577cafb6931e /Library
parente38ee58613f3ed53aad097f0a5b85f9d8a47e8da (diff)
downloadhomebrew-6441cebcb34592c0e7cf2dc2ca6f0d9fcee9914e.tar.bz2
monetdb 11.17.13
Closes #27342. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/monetdb.rb24
1 files changed, 15 insertions, 9 deletions
diff --git a/Library/Formula/monetdb.rb b/Library/Formula/monetdb.rb
index f5280b75f..ec655f302 100644
--- a/Library/Formula/monetdb.rb
+++ b/Library/Formula/monetdb.rb
@@ -2,11 +2,13 @@ require 'formula'
class Monetdb < Formula
homepage 'http://www.monetdb.org/'
- url 'http://www.monetdb.org/downloads/sources/Jan2014/MonetDB-11.17.9.zip'
- sha1 '4669b54fa9a74bba068756ac3902fd8e362a151b'
+ url 'http://dev.monetdb.org/downloads/sources/Jan2014-SP1/MonetDB-11.17.13.zip'
+ sha1 '51f3fd5a61ffd2bcc85148a3f0bd953a6fc31553'
head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg
+ option 'with-java'
+
depends_on 'pkg-config' => :build
depends_on :ant
depends_on 'pcre'
@@ -15,13 +17,17 @@ class Monetdb < Formula
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"
+ args = ["--prefix=#{prefix}",
+ "--enable-debug=no",
+ "--enable-assert=no",
+ "--enable-optimize=yes",
+ "--enable-testing=no",
+ "--disable-jaql",
+ "--without-rubygem"]
+
+ args << "--with-java=no" if build.without? 'java'
+
+ system "./configure", *args
system "make install"
end
end