aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexey Matveichev2013-06-13 08:08:17 +0200
committerAdam Vandenberg2013-06-17 20:09:44 -0700
commit2a1d4eda9e2cb048572a2094c23420bb38f82305 (patch)
treee55fdb9bb4db94dc6cf44cf536c7b2ccfc3901bf /Library/Formula
parentc16f2b33f362076b540eeb6cf059adf0e047fc0a (diff)
downloadhomebrew-2a1d4eda9e2cb048572a2094c23420bb38f82305.tar.bz2
Bigloo 4.0
Closes #20455. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bigloo.rb48
1 files changed, 48 insertions, 0 deletions
diff --git a/Library/Formula/bigloo.rb b/Library/Formula/bigloo.rb
new file mode 100644
index 000000000..3b1cf3b16
--- /dev/null
+++ b/Library/Formula/bigloo.rb
@@ -0,0 +1,48 @@
+require 'formula'
+
+class Bigloo < Formula
+ homepage 'http://www-sop.inria.fr/indes/fp/Bigloo/'
+ url 'ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo4.0a.tar.gz'
+ version '4.0a'
+ sha1 '63e0e363a7900d9e7d02f63c50ba2079053ef2d1'
+
+ depends_on 'gmp'
+
+ option 'with-jvm', 'Enable JVM support'
+
+ fails_with :clang do
+ build 425
+ cause <<-EOS.undent
+ objs/obj_u/Ieee/dtoa.c:262:79504: fatal error: parser
+ recursion limit reached, program too complex
+ EOS
+ end
+
+ def install
+ args = ["--disable-debug",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man1}",
+ "--infodir=#{info}",
+ "--customgc=yes",
+ "--os-macosx",
+ "--native=yes",
+ "--disable-alsa",
+ "--disable-mpg123",
+ "--disable-flac"]
+
+ args << "--jvm=yes" if build.include? 'with-jvm'
+
+ # SRFI 27 is 32-bit only
+ args << "--disable-srfi27" if MacOS.prefer_64_bit?
+
+ system "./configure", *args
+
+ system "make"
+ system "make install"
+
+ # Install the other manpages too
+ manpages = %w( bgldepend bglmake bglpp bgltags bglafile bgljfile bglmco bglprof )
+ manpages.each {|m| man1.install "manuals/#{m}.man" => "#{m}.1"}
+ end
+end