Skip to content

Commit

Permalink
wcalc 2.4.1
Browse files Browse the repository at this point in the history
Closes Homebrew#25045.

Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
chdiza authored and adamv committed Feb 12, 2014
1 parent e2df547 commit 7072526
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Library/Formula/w-calc.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
require 'formula'

class WCalc < Formula
url 'http://downloads.sourceforge.net/w-calc/wcalc-2.4.1.tar.bz2'
homepage 'http://w-calc.sourceforge.net'
sha1 'e3ba04dcfc60a47b60c79fc6f9f4a8fa750ee5f9'

depends_on 'gmp'
depends_on 'mpfr'

def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
end

test do
system "#{bin}/wcalc 2+2"
end

end

0 comments on commit 7072526

Please sign in to comment.