Commit fbf2d97c authored by Gangstead's avatar Gangstead Committed by GitHub

Merge pull request #1574 from uberhacker/add-testdisk-package

Add testdisk package
parents 05c982a4 0f70213c
require 'package'
class Testdisk < Package
description 'TestDisk is powerful free data recovery software!'
homepage 'https://www.cgsecurity.org/wiki/TestDisk'
version '7.1'
source_url 'https://www.cgsecurity.org/testdisk-7.1-WIP.tar.bz2'
source_sha256 '910d597b07e1da96aa73189a6f3121e38cb5bef857036d481ceaae7900da7429'
binary_url ({
})
binary_sha256 ({
})
depends_on 'compressdoc' => :build
depends_on 'ncurses'
depends_on 'apriconv'
depends_on 'libjpeg'
depends_on 'zlibpkg'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man8"
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