2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:50:52 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libidn < Formula
|
2010-02-18 12:09:31 +00:00
|
|
|
homepage 'http://www.gnu.org/software/libidn/'
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/libidn/libidn-1.22.tar.gz'
|
2011-05-17 00:18:57 +00:00
|
|
|
sha256 '2f765e868795f5478900ec9f42cb0ecc6ca22e2a85a62763c0b13c7da2f588ed'
|
2009-09-19 09:50:52 +00:00
|
|
|
|
2011-03-30 23:33:40 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2009-09-19 09:50:52 +00:00
|
|
|
def install
|
2010-08-15 22:58:28 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-csharp"
|
2009-09-19 09:50:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|