require 'formula' class Libidn < Formula homepage 'http://www.gnu.org/software/libidn/' url 'http://ftp.gnu.org/gnu/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