homebrew-core/Formula/nettle.rb

28 lines
791 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-04-13 20:56:43 +00:00
revision 1
2014-10-17 21:14:16 +00:00
sha1 "41d80787422ed29f084c147b49e2f7c3a223eded" => :yosemite
2014-04-13 20:56:43 +00:00
sha1 "89238f83e4f3f18145553d3c442fe022680cbd7b" => :mavericks
sha1 "8f2a4c261926f2f62e9d8f197a8466a2489b37e0" => :mountain_lion
sha1 "6c56084887da5b7e99d7c730bf22a68c9af360e9" => :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