2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-01 04:42:03 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ddrescue < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/ddrescue/ddrescue-1.14.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.14.tar.gz'
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://www.gnu.org/software/ddrescue/ddrescue.html'
|
2011-04-26 16:28:11 +00:00
|
|
|
md5 'd6f6cc63df9ad352bc6e43b65c975af5'
|
2009-09-01 04:42:03 +00:00
|
|
|
|
|
|
|
def install
|
2010-08-29 17:31:37 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"CXX=#{ENV['CXX']}"
|
2009-09-01 04:42:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|