void-packages/srcpkgs/aide/template

27 lines
865 B
Bash

# Template file for 'aide'
pkgname=aide
version=0.17.3
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=a2eb1883cafaad056fbe43ee1e8ae09fd36caa30a0bc8edfea5d47bd67c464f8
post_configure() {
vsed -i config.h -e 's/cross/ino_t/g'
}
post_install() {
vconf $FILESDIR/aide.conf
}