homebrew-core/Formula/open-cobol.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

20 lines
528 B
Ruby

require 'formula'
class OpenCobol < Formula
homepage 'http://www.opencobol.org/'
url 'https://downloads.sourceforge.net/project/open-cobol/open-cobol/1.1/open-cobol-1.1.tar.gz'
sha1 'a833f011cd0f56d0aa3d97a56258ddd5141b594c'
depends_on 'gmp'
depends_on 'berkeley-db'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--infodir=#{info}"
system "make install"
end
test do
system "#{bin}/cobc", "--help"
end
end