void-packages/srcpkgs/aide/template

27 lines
930 B
Bash

# Template file for 'aide'
pkgname=aide
version=0.18.6
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=8ff36ce47d37d0cc987762d5d961346d475de74bba8a1832fd006db6edd3c10e
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
}