blob: 2aca554891a2cfff2cb554621eff0524f44c4575 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class OpenCobol < Formula
homepage 'http://www.opencobol.org/'
url 'http://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
def test
system "#{bin}/cobc", "--help"
end
end
|