aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBen Alpert2009-08-31 22:42:03 -0600
committerMax Howell2009-09-01 11:15:36 +0100
commit11ccd3c722d15362a4b925cf909525a63bb1ea9d (patch)
tree612f7c16d949cb655046d1390157eb11ddd8e72c /Library
parentbebbd8e0dca3d85d7f813071c23207d73cae45c1 (diff)
downloadhomebrew-11ccd3c722d15362a4b925cf909525a63bb1ea9d.tar.bz2
GNU Ddrescue formula
GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying hard to rescue data in case of read errors.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ddrescue.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/ddrescue.rb b/Library/Formula/ddrescue.rb
new file mode 100644
index 000000000..a186b4a71
--- /dev/null
+++ b/Library/Formula/ddrescue.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Ddrescue <Formula
+ @url='http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.11.tar.gz'
+ @homepage='http://www.gnu.org/software/ddrescue/ddrescue.html'
+ @md5='7146046bb1851351d1337bb1f5b4e903'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end