void-packages/srcpkgs/nmh/template
2017-11-18 15:16:37 +01:00

26 lines
825 B
Bash

# Template file for 'nmh'
pkgname=nmh
version=1.7
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=cd05c7ca2cae524ae99f6ba673463a5cdeff62df93e85913aa9277ae8304ce44
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
}