void-packages/srcpkgs/aide/template

27 lines
865 B
Bash

# Template file for 'aide'
pkgname=aide
version=0.16.2
revision=1
build_style=gnu-configure
configure_args="--with-mhash --with-posix-acl --with-prelink --with-xattr
--with-zlib --with-e2fsattrs --disable-static"
conf_files="/etc/aide.conf"
make_dirs="/var/lib/aide 0750 root root
/var/log/aide 0750 root root"
hostmakedepends="flex"
makedepends="pcre-devel mhash-devel acl-devel e2fsprogs-devel elfutils-devel zlib-devel"
short_desc="File and directory integrity checker"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://aide.github.io/"
distfiles="https://github.com/aide/aide/releases/download/v${version}/aide-${version}.tar.gz"
checksum=17f998ae6ae5afb9c83578e4953115ab8a2705efc50dee5c6461cef3f521b797
post_configure() {
vsed -i config.h -e 's/cross/ino_t/g'
}
post_install() {
vconf $FILESDIR/aide.conf
}