mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
foremost: build with our CFLAGS.
This commit is contained in:
parent
b19773fbb3
commit
58f1d037dc
1 changed files with 8 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'foremost'
|
# Template file for 'foremost'
|
||||||
pkgname=foremost
|
pkgname=foremost
|
||||||
version=1.5.7
|
version=1.5.7
|
||||||
revision=2
|
revision=3
|
||||||
conf_files="/etc/foremost.conf"
|
conf_files="/etc/foremost.conf"
|
||||||
short_desc="Forensic program to recover lost files"
|
short_desc="Forensic program to recover lost files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -10,12 +10,15 @@ homepage="http://foremost.sourceforge.net/"
|
||||||
distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
|
distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz"
|
||||||
checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
|
checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
sed "s,RAW_FLAGS =.*,RAW_FLAGS = $CFLAGS," -i Makefile
|
||||||
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make RAW_CC="$CC" ${makejobs}
|
make RAW_CC="$CC" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall foremost 755 usr/bin
|
vbin foremost
|
||||||
vinstall foremost.8.gz 644 usr/share/man/man8
|
gunzip foremost.8.gz
|
||||||
vinstall foremost.conf 644 etc
|
vman foremost.8
|
||||||
|
vconf foremost.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue