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-04-07 05:58:35 +00:00
|
|
|
homepage 'http://www.gnu.org/software/ddrescue/ddrescue.html'
|
2012-02-13 06:15:01 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/ddrescue/ddrescue-1.15.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.15.tar.gz'
|
|
|
|
md5 '6b445f6246074a7fa02f3b2599031096'
|
2009-09-01 04:42:03 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-13 06:15:01 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"CXX=#{ENV['CXX']}"
|
2009-09-01 04:42:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|