Commit e4e2c3c7 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #750 from uberhacker/add-diskscan-package

Add diskscan package
parents f75bcb73 6c1fbc86
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 'http://blog.disksurvey.org/proj/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