void-packages/srcpkgs/procmail/template

25 lines
751 B
Bash

# Template file for 'procmail'
pkgname=procmail
version=3.24
revision=1
hostmakedepends="opensmtpd"
depends="virtual?smtp-server"
short_desc="Autonomous mail processor"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later, Artistic-1.0-cl8"
homepage="http://www.procmail.org"
distfiles="https://github.com/BuGlessRB/procmail/archive/refs/tags/v${version}.tar.gz"
checksum=514ea433339783e95df9321e794771e4887b9823ac55fdb2469702cf69bd3989
nocross="./autoconf: line 1396: ./_autotst: No such file or directory"
do_build() {
make ${makejobs} CC="$CC" CFLAGS0="${CFLAGS} ${LDFLAGS}" LOCKINGTEST=100
}
do_install() {
make BASENAME="${DESTDIR}/usr" MANDIR="${DESTDIR}/usr/share/man" install
for f in examples/*; do
vsconf $f
done
}