18 lines
615 B
Bash
18 lines
615 B
Bash
# Template file for 'fatrace'
|
|
pkgname=fatrace
|
|
version=0.10
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
CFLAGS='-D_GNU_SOURCE'
|
|
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"
|
|
checksum=2afb6ed0f69abe51f290515398216e2cb3201f5362a3f0afe7e6b8a797d80c60
|
|
|
|
post_extract() {
|
|
sed -i 's/sbin/bin/g' Makefile
|
|
sed -i '/<stdlib.h>/a#include <stdint.h>' fatrace.c
|
|
sed -i '/<sys\/stat.h>/a#include <sys\/types.h>' fatrace.c
|
|
}
|