void-packages/srcpkgs/procmail/template

29 lines
762 B
Text
Raw Normal View History

2014-07-12 18:04:34 +00:00
# Template file for 'procmail'
pkgname=procmail
version=3.22
2014-08-20 17:39:21 +00:00
revision=2
2014-07-12 18:04:34 +00:00
hostmakedepends="opensmtpd"
2014-08-20 17:39:21 +00:00
depends="virtual?smtp-server"
2014-07-12 18:04:34 +00:00
short_desc="Autonomous mail processor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2, Artistic"
homepage="http://www.procmail.org"
distfiles="ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/${pkgname}-${version}.tar.gz"
checksum=087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117
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
}