void-packages/srcpkgs/foremost/template

25 lines
639 B
Bash
Raw Normal View History

2013-03-08 09:29:20 +01:00
# Template file for 'foremost'
pkgname=foremost
version=1.5.7
2014-12-19 09:43:18 +01:00
revision=3
conf_files="/etc/foremost.conf"
2013-03-08 09:29:20 +01:00
short_desc="Forensic program to recover lost files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-03-08 09:29:20 +01:00
license="Public domain, GPL-2"
homepage="http://foremost.sourceforge.net/"
distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
2014-12-19 09:43:18 +01:00
do_configure() {
sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
}
2013-03-08 09:29:20 +01:00
do_build() {
make RAW_CC="$CC" ${makejobs}
}
do_install() {
2014-12-19 09:43:18 +01:00
vbin foremost
gunzip foremost.8.gz
vman foremost.8
vconf foremost.conf
2013-03-08 09:29:20 +01:00
}