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

17 lines
505 B
Ruby

require 'formula'
class Gringo < Formula
homepage 'http://potassco.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/potassco/gringo/4.2.1/gringo-4.2.1-source.tar.gz'
sha1 'e27790e7d27c54ebb993d97debc01df5c2a4ddd6'
depends_on 're2c' => :build
depends_on 'scons' => :build
depends_on 'bison' => :build
depends_on :macos => :mavericks
def install
scons "--build-dir=release", "gringo", "clingo"
bin.install "build/release/gringo", "build/release/clingo"
end
end