void-packages/srcpkgs/rmilter/template

24 lines
751 B
Bash

# Template file for 'rmilter'
pkgname=rmilter
version=1.10.0
revision=1
build_style=cmake
configure_args="-DMILTER_USER=rmilter -DSBINDIR=/usr/bin"
hostmakedepends="pkg-config bison flex"
makedepends="libressl-devel pcre-devel libmilter-devel opendkim-devel libsasl-devel libmemcached-devel glib-devel"
short_desc="Postfix/sendmail integration for rspamd"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD"
homepage="https://github.com/vstakhov/rmilter"
distfiles="$homepage/archive/${version}.tar.gz"
checksum=ea80563fa7636afed0b5fd9a29aa2300f15793ed85788e4ce69c187d341a7d54
system_accounts="rmilter"
rmilter_homedir="/var/lib/rmilter"
post_install() {
vdoc rmilter.conf.sample
vdoc rmilter-grey.conf
vsv rmilter
vlicense src/rmilter.c
}