homebrew-core/Formula/libgcrypt.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

15 lines
409 B
Ruby

require 'formula'
class Libgcrypt <Formula
@url='ftp://ftp.gnupg.org//gcrypt/libgcrypt/libgcrypt-1.4.4.tar.bz2'
@homepage='http://www.gnupg.org/'
@sha1='3987f0efcbb7048c136d5c859e88eee1763a14f6'
depends_on 'libgpg-error'
def install
ENV.j1
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--disable-asm"
system "make install"
end
end