aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ddrescue.rb
blob: a8e96a5f27f8f5ac5026fbf3f71a26ae7d60ed8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require "formula"

class Ddrescue < Formula
  homepage "https://www.gnu.org/software/ddrescue/ddrescue.html"
  url "http://ftpmirror.gnu.org/ddrescue/ddrescue-1.19.tar.lz"
  mirror "https://ftp.gnu.org/gnu/ddrescue/ddrescue-1.19.tar.lz"
  sha1 "5c5bfa4e2d0cb98feb1fd66cb9ea0c8ab2c7d34d"

  bottle do
    cellar :any
    sha1 "e3a30bbbd40b51f4ec0d71f215406e0e511f5d04" => :mavericks
    sha1 "9917eb5ba28f1acb4f02b52b9cab9cb8e7768dfc" => :mountain_lion
    sha1 "6cca70194ffc701ab511665630db71cdd46425ae" => :lion
  end

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