homebrew-core/Formula/nettle.rb

26 lines
711 B
Ruby
Raw Normal View History

require 'formula'
class Nettle < Formula
homepage 'http://www.lysator.liu.se/~nisse/nettle/'
2014-03-06 03:13:45 +00:00
url 'http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz'
sha1 'e7477df5f66e650c4c4738ec8e01c2efdb5d1211'
2014-02-22 15:39:08 +00:00
bottle do
cellar :any
2014-03-06 03:13:45 +00:00
sha1 "5b60254d47e96bac5d99ee4498f5bfe161eb9367" => :mavericks
sha1 "06cbb197cc8b5cd0c67fdcf420aac55f6921e635" => :mountain_lion
sha1 "7377e1d2c27d8c7d7bb9b0c77ba21843570e5c8c" => :lion
2014-02-22 15:39:08 +00:00
end
depends_on 'gmp'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-shared"
system "make"
system "make install"
system "make check"
end
end