mcl 12-135

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Tamas Nepusz 2012-07-20 17:16:32 +02:00 committed by Adam Vandenberg
parent 31358f0b38
commit 1854f5b5b5
1 changed files with 8 additions and 3 deletions

View File

@ -1,12 +1,17 @@
require 'formula'
class Mcl < Formula
version '10-201'
url 'http://micans.org/mcl/src/mcl-10-201.tar.gz'
homepage 'http://micans.org/mcl'
md5 '9e8aecb9011560b9c3e55fe0f2d1e791'
url 'http://micans.org/mcl/src/mcl-12-135.tar.gz'
version '12-135'
sha1 '27e7bc08fe5f0d3361bbc98d343c9d045712e406'
def install
# Force the compiler to run in C89 mode because one of the source
# files uses "restrict" as a variable name and this is a restricted
# keyword in C99
ENV.append_to_cflags '-std=c89'
bin.mkpath
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",