void-packages/srcpkgs/nmh/template
2018-03-07 12:53:13 +01:00

26 lines
827 B
Bash

# Template file for 'nmh'
pkgname=nmh
version=1.7.1
revision=1
build_style=gnu-configure
configure_args="--with-cyrus-sasl --with-tls"
makedepends="db-devel libcurl-devel libressl-devel libsasl-devel ncurses-devel"
checkdepends="groff lynx ncurses tzdata"
conf_files="/etc/nmh/*"
short_desc="Message Handling System (New RAND Mail Handler)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="3-clause-BSD"
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
}