void-packages/srcpkgs/nmh/template
2021-03-05 22:01:02 +01:00

26 lines
822 B
Bash

# Template file for 'nmh'
pkgname=nmh
version=1.7.1
revision=6
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 tzdata 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=f1fb94bbf7d95fcd43277c7cfda55633a047187f57afc6c1bb9321852bd07c11
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
}