homebrew-core/Formula/w-calc.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

21 lines
410 B
Ruby

require 'formula'
class WCalc < Formula
url 'https://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