homebrew-core/Formula/libgcrypt.rb

20 lines
585 B
Ruby
Raw Normal View History

require 'formula'
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'
2010-07-16 17:14:58 +00:00
homepage 'http://directory.fsf.org/project/libgcrypt/'
depends_on 'libgpg-error'
def install
2009-12-21 00:04:42 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-asm",
"--with-gpg-error-prefix=#{HOMEBREW_PREFIX}"
2009-12-21 00:04:42 +00:00
# Separate steps, or parallel builds fail
system "make"
system "make install"
end
end