2011-04-12 13:38:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gecode < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Toolkit for developing constraint-based systems and applications"
|
2011-04-12 13:38:46 +00:00
|
|
|
homepage 'http://www.gecode.org/'
|
2015-03-07 15:08:51 +00:00
|
|
|
url 'http://www.gecode.org/download/gecode-4.3.3.tar.gz'
|
|
|
|
sha1 '392f079979a582e040ff1d58736f23e985ca53ff'
|
2011-04-12 13:38:46 +00:00
|
|
|
|
2014-11-23 21:01:53 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-03-07 20:13:45 +00:00
|
|
|
sha256 "a2038d4e65773dadec944dcf2d1d25730590b6c3d4c584253cf0d0a0f3beb173" => :yosemite
|
|
|
|
sha256 "ff06aa1e2dd83ac13da3c3a64433ed844e2eb5d74a5ef25d992b8d6369943d44" => :mavericks
|
|
|
|
sha256 "83c052f33a9a13f74d4d0b22d9d8d9adf7569d35cecaf626ea5a0b0adc5601f9" => :mountain_lion
|
2014-11-23 21:01:53 +00:00
|
|
|
end
|
|
|
|
|
2011-04-12 13:38:46 +00:00
|
|
|
def install
|
2012-04-01 21:31:55 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-examples"
|
2011-04-12 13:38:46 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|