61b2307139
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.
15 lines
409 B
Ruby
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
|