void-packages/srcpkgs/aide/template

27 lines
930 B
Bash

# Template file for 'aide'
pkgname=aide
version=0.18.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 pkg-config"
makedepends="pcre2-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=758ff586c703930129e0a1e8c292ff5127e116fc10d0ffdbea8bf2c1087ca7e4
export MHASH_CFLAGS="=I${XBPS_CROSS_BASE}/usr/include"
export MHASH_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lmhash"
post_install() {
vconf $FILESDIR/aide.conf
}