void-packages/srcpkgs/foremost/template

36 lines
1.2 KiB
Text

# Template file for 'foremost'
pkgname=foremost
version=1.5.7
revision=1
short_desc="Forensic program to recover lost files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain, GPL-2"
homepage="http://foremost.sourceforge.net/"
distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
long_desc="
Foremost is a console program to recover files based on their headers, footers,
and internal data structures. This process is commonly referred to as data
carving. Foremost can work on image files, such as those generated by dd,
Safeback, Encase, etc, or directly on a drive. The headers and footers can be
specified by a configuration file or you can use command line switches to
specify built-in file types. These built-in types look at the data structures
of a given file format allowing for a more reliable and faster recovery."
do_build() {
make RAW_CC="$CC" ${makejobs}
}
do_install() {
vinstall foremost 755 usr/bin
vinstall foremost.8.gz 644 usr/share/man/man8
vinstall foremost.conf 644 etc
}
foremost_package() {
conf_files="/etc/foremost.conf"
pkg_install() {
vmove etc
vmove usr
}
}