5ca08bd2ea
This reverts commit 41274ff183af4fd4933a342e1961af84e8a2c957. The library version changed, and I wasn't careful enough. Not in a hurry with this so let's avoid breaking a bunch of stuff for now.
18 lines
477 B
Ruby
18 lines
477 B
Ruby
require 'formula'
|
|
|
|
class Nettle < Formula
|
|
homepage 'http://www.lysator.liu.se/~nisse/nettle/'
|
|
url 'http://www.lysator.liu.se/~nisse/archive/nettle-2.6.tar.gz'
|
|
sha1 '401f982a0b365e04c8c38c4da42afdd7d2d51d80'
|
|
|
|
depends_on 'gmp'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--enable-shared"
|
|
system "make"
|
|
system "make install"
|
|
system "make check"
|
|
end
|
|
end
|