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
|
2010-08-29 17:31:37 +00:00
|
|
|
url 'http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.13.tar.gz'
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://www.gnu.org/software/ddrescue/ddrescue.html'
|
2010-08-29 17:31:37 +00:00
|
|
|
md5 '0afc4130882a993772385629d1c0a32e'
|
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
|