blob: 04e087bfd2d06afb5b6395377044fa874ae23fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
ENV.universal_binary
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-csharp"
system "make install"
end
def test
system "#{bin}/idn --version"
end
end
|