# Template file for 'snoopy'
pkgname=snoopy
version=2.4.6
revision=1
build_style=gnu-configure
hostmakedepends="socat"
conf_files="/etc/snoopy.ini"
short_desc="Log every executed command to syslog"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/a2o/snoopy"
distfiles="http://source.a2o.si/download/snoopy/snoopy-${version}.tar.gz"
checksum=6442e1145a5cad725f6aae0887030ee3db34bafc40bbe3bb84da836cbb5f1569

nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/14486/steps/shell_3/logs/stdio"

pre_configure() {
	find . -type f -name Makefile.in -exec sed -i 's| -Werror||' {} +
}
post_install() {
	vconf etc/snoopy.ini
}
