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.
12 lines
362 B
Ruby
12 lines
362 B
Ruby
require 'formula'
|
|
|
|
class Ddrescue <Formula
|
|
@url='http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.11.tar.gz'
|
|
@homepage='http://www.gnu.org/software/ddrescue/ddrescue.html'
|
|
@md5='7146046bb1851351d1337bb1f5b4e903'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|