fdm: update to 1.9.

This commit is contained in:
Christian Neukirchen 2015-09-25 22:27:16 +02:00
parent 15a4020faf
commit 75d1b4f6ae

View file

@ -1,21 +1,22 @@
# Template file for 'fdm'
pkgname=fdm
version=1.8
revision=6
build_style=configure
make_build_args="PCRE=1"
version=1.9
revision=1
build_style=gnu-configure
CFLAGS="-DPCRE"
configure_args="ac_cv_func_strlcpy=no ac_cv_func_strlcat=no LIBS=-lpcre"
hostmakedepends="bison"
makedepends="zlib-devel libressl-devel tdb-devel pcre-devel"
short_desc="Program to fetch and deliver mail"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://fdm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/$pkgname-$version/$pkgname-$version.tar.gz"
checksum=4f4c000d3e2cd11936c23c0d7a95da860743b7543790d5797268df18864b2342
do_install() {
make DESTDIR=$DESTDIR PREFIX=/usr MANDIR=/usr/share/man install
homepage="https://github.com/nicm/fdm"
distfiles="https://github.com/nicm/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=16416c38a9a7e32d187220cc5ae61a51463d5e4e47419c5c513f422523d39914
post_install() {
vmkdir usr/share/doc/${pkgname}
cp -r examples ${DESTDIR}/usr/share/doc/${pkgname}
sed 17q fdm.c >LICENSE
vlicense LICENSE
}