void-packages/srcpkgs/fatrace/template

19 lines
615 B
Bash
Raw Normal View History

2014-07-02 13:05:28 +02:00
# Template file for 'fatrace'
pkgname=fatrace
2015-04-30 11:06:36 +02:00
version=0.10
2015-05-11 16:31:54 +02:00
revision=2
2014-07-02 13:05:28 +02:00
build_style=gnu-makefile
2015-05-11 16:31:54 +02:00
CFLAGS='-D_GNU_SOURCE'
2014-07-02 13:05:28 +02:00
short_desc="Report system wide file access events"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://launchpad.net/fatrace"
distfiles="http://launchpad.net/fatrace/trunk/$version/+download/$pkgname-$version.tar.bz2"
2015-04-30 11:06:36 +02:00
checksum=2afb6ed0f69abe51f290515398216e2cb3201f5362a3f0afe7e6b8a797d80c60
post_extract() {
sed -i 's/sbin/bin/g' Makefile
2015-05-11 16:31:54 +02:00
sed -i '/<stdlib.h>/a#include <stdint.h>' fatrace.c
sed -i '/<sys\/stat.h>/a#include <sys\/types.h>' fatrace.c
2015-04-30 11:06:36 +02:00
}