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.
13 lines
368 B
Ruby
13 lines
368 B
Ruby
require 'formula'
|
|
|
|
class LibgpgError <Formula
|
|
@url='ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2'
|
|
@homepage='http://www.gnupg.org/'
|
|
@sha1='bf8c6babe1e28cae7dd6374ca24ddcc42d57e902'
|
|
|
|
def install
|
|
ENV.j1
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|