void-packages/srcpkgs/snoopy/template
newbluemoon 079328b656 snoopy: fix cross compilation
Closes #9606.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2017-11-28 19:26:00 +01:00

20 lines
576 B
Bash

# 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
pre_configure() {
find . -type f -name Makefile.in -exec sed -i 's| -Werror||' {} +
}
post_install() {
vconf etc/snoopy.ini
}