Commit cbd1496e authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[New Package] ddrescue (#5178)

parent 0e46e6b6
require 'package'
class Ddrescue < Package
description 'GNU ddrescue is a data recovery tool.'
homepage 'https://www.gnu.org/software/ddrescue/'
version '1.25'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/ddrescue/ddrescue-1.25.tar.lz'
source_sha256 'ce538ebd26a09f45da67d3ad3f7431932428231ceec7a2d255f716fa231a1063'
def self.build
system "./configure #{CREW_OPTIONS} \
--enable-non-posix"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make", "check"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment