fa3d89a7c0
It seems that the main GNU download site has issues in some places outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick a nearby mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
16 lines
466 B
Ruby
16 lines
466 B
Ruby
require 'formula'
|
|
|
|
class Libidn < Formula
|
|
homepage 'http://www.gnu.org/software/libidn/'
|
|
url 'http://ftpmirror.gnu.org/libidn/libidn-1.22.tar.gz'
|
|
sha256 '2f765e868795f5478900ec9f42cb0ecc6ca22e2a85a62763c0b13c7da2f588ed'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-csharp"
|
|
system "make install"
|
|
end
|
|
end
|