void-packages/srcpkgs/procmail/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

29 lines
813 B
Bash

# Template file for 'procmail'
pkgname=procmail
version=3.22
revision=3
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://fossies.org/linux/misc/old/procmail-${version}.tar.gz"
checksum=087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117
nocross="./autoconf: line 1396: ./_autotst: No such file or directory"
post_extract() {
cd $wrksrc
sed -i s/getline/procmail_getline/g src/*
}
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
}