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.
14 lines
393 B
Ruby
14 lines
393 B
Ruby
require 'formula'
|
|
|
|
class Gnutls <Formula
|
|
@url='http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.8.3.tar.bz2'
|
|
@homepage='http://www.gnu.org/software/gnutls/gnutls.html'
|
|
@sha1='c25fb354258777f9ee34b79b08eb87c024cada75'
|
|
|
|
depends_on 'libgcrypt'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|