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
357 B
Ruby
14 lines
357 B
Ruby
require 'formula'
|
|
|
|
class Bash <Formula
|
|
@url='http://ftp.gnu.org/gnu/bash/bash-4.0.tar.gz'
|
|
@homepage='http://www.gnu.org/software/bash/'
|
|
@md5='a90a1b5a6db4838483f05438e05e8eb9'
|
|
|
|
depends_on 'readline'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|