2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
|
|
|
class Gnutls <Formula
|
2010-08-14 11:28:40 +00:00
|
|
|
url 'http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.10.1.tar.bz2'
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://www.gnu.org/software/gnutls/gnutls.html'
|
2010-08-14 11:28:40 +00:00
|
|
|
sha1 '507ff8ad7c1e042f8ecaa4314f32777e74caf0d3'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'libgcrypt'
|
2010-08-14 11:28:40 +00:00
|
|
|
depends_on 'libtasn1' => :optional
|
2009-09-09 14:11:58 +00:00
|
|
|
|
|
|
|
def install
|
2010-10-06 18:42:00 +00:00
|
|
|
fails_with_llvm "Undefined symbols when linking", :build => "2326"
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2009-11-16 07:27:10 +00:00
|
|
|
"--disable-guile"
|
2009-09-09 14:11:58 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|