diff options
| author | Alex Dunn | 2015-04-21 18:44:23 -0700 |
|---|---|---|
| committer | Xu Cheng | 2015-04-22 20:27:51 +0800 |
| commit | 4906266cbf7240f1a29f44653f3753fd7bb4b961 (patch) | |
| tree | 6f9e084677bd1515ee5a16b09cf47ea115dbfadc /Library/Formula | |
| parent | 919b8aaa3f0642f87ea26bc819362dca61db1177 (diff) | |
| download | homebrew-4906266cbf7240f1a29f44653f3753fd7bb4b961.tar.bz2 | |
ecl 15.3.7
Closes #38920.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ecl.rb | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/Library/Formula/ecl.rb b/Library/Formula/ecl.rb index 8fcedbf8d..718ee953b 100644 --- a/Library/Formula/ecl.rb +++ b/Library/Formula/ecl.rb @@ -1,9 +1,9 @@ -require 'formula' - class Ecl < Formula - homepage 'http://ecls.sourceforge.net/' - url 'https://downloads.sourceforge.net/project/ecls/ecls/15.2/ecl-15.2.21.tgz' - sha1 'fcf70c11ddb1602e88972f0c1596037df229f473' + homepage "http://ecls.sourceforge.net/" + url "https://downloads.sourceforge.net/project/ecls/ecls/15.3/ecl-15.3.7.tgz" + sha256 "2dc6ffbbf1e0a7b1323d49a991ba1f005127ca3e153651d91ba9e65bdaec948f" + + head "https://gitlab.com/embeddable-common-lisp/ecl.git" bottle do sha1 "1f5441b4a7cd4f62be787b771060655ec92b0642" => :yosemite @@ -11,19 +11,22 @@ class Ecl < Formula sha1 "ab1ac89fe3e324fc0cf4f74acd058af6a22b235a" => :mountain_lion end - depends_on 'gmp' + depends_on "gmp" def install - ENV.deparallelize - system "./configure", "--prefix=#{prefix}", "--enable-unicode=yes", "--enable-threads=yes", "--with-system-gmp=yes" + system "./configure", "--prefix=#{prefix}", + "--enable-unicode=yes", + "--enable-threads=yes", + "--with-system-gmp=yes" system "make" - system "make install" + system "make", "install" end test do - (testpath/'simple.cl').write <<-EOS.undent + (testpath/"simple.cl").write <<-EOS.undent (write-line (write-to-string (+ 2 2))) EOS - assert_equal "4\n", shell_output("#{bin}/ecl -shell #{testpath}/simple.cl") + assert_equal "4", + shell_output("#{bin}/ecl -shell #{testpath}/simple.cl").chomp end end |
