2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
|
|
|
class Libgcrypt <Formula
|
2009-12-21 00:04:42 +00:00
|
|
|
url 'ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.5.tar.bz2'
|
|
|
|
sha1 'ef7ecbd3a03a7978094366bcd1257b3654608d28'
|
|
|
|
homepage 'http://www.gnupg.org/'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'libgpg-error'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
|
|
|
def install
|
2009-12-21 00:04:42 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2010-02-13 11:54:21 +00:00
|
|
|
"--disable-asm",
|
|
|
|
"--with-gpg-error-prefix=#{HOMEBREW_PREFIX}"
|
2009-12-21 00:04:42 +00:00
|
|
|
# Separate steps, or parallel builds fail
|
|
|
|
system "make"
|
2009-09-09 14:11:58 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|