d356e30872
Upstream download is trying to use IPv6 routes. Fixes Homebrew/homebrew#16224.
19 lines
588 B
Ruby
19 lines
588 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.5.tar.gz'
|
|
mirror 'http://ftp.de.debian.org/debian/pool/main/n/nettle/nettle_2.5.orig.tar.gz'
|
|
sha256 '4aa142e908b0053082d7729fc0155dc90dbe71c8ef5f50f30034805ed5c92c72'
|
|
|
|
depends_on 'gmp'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--enable-shared"
|
|
system "make"
|
|
system "make install"
|
|
system "make check"
|
|
end
|
|
end
|