void-packages/srcpkgs/nmh/template

27 lines
813 B
Bash

# Template file for 'nmh'
pkgname=nmh
version=1.8
revision=2
build_style=gnu-configure
configure_args="--with-cyrus-sasl --with-tls"
makedepends="db-devel libcurl-devel openssl-devel libsasl-devel ncurses-devel"
checkdepends="groff lynx tar"
conf_files="/etc/nmh/*"
short_desc="Message Handling System (New RAND Mail Handler)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="http://www.nongnu.org/nmh/"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=366ce0ce3f9447302f5567009269c8bb3882d808f33eefac85ba367e875c8615
conflicts="pick>=0"
pre_build() {
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" LDFLAGS="$BUILD_LDFLAGS" sbr/ctype-checked.h
}
post_install() {
vlicense COPYRIGHT LICENSE
}
do_check() {
make ${makejobs} check
}