aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ddrescue.rb
blob: 4a3b00bd1fac9c6a08aba5990ffda12bc7042575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Ddrescue < Formula
  homepage 'http://www.gnu.org/software/ddrescue/ddrescue.html'
  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'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "CXX=#{ENV.cxx}"
    system "make install"
  end
end