Commit eab5c5bf authored by Ed Reel's avatar Ed Reel

Add diskscan package

parent 42f64633
require 'package'
class Diskscan < Package
description 'diskscan is intended to find sectors of a storage medium (hard disk, flash drive or pendrive, etc.) which are bad or in the process of going bad.'
homepage 'https://github.com/baruch/diskscan'
version '0.19'
source_url 'https://github.com/baruch/diskscan/archive/0.19.tar.gz'
source_sha1 '74777d57af378fffe209086a026b788cd35d4d05'
depends_on 'cmake'
depends_on 'termcap'
def self.build
system "cmake ."
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