void-packages/srcpkgs/nmh/template
Đoàn Trần Công Danh 3051d0619a srcpkgs: remove ncurses from {hostmake,make,check}depends
xbps-src will remove ncurses in do_clean, which removes base-chroot
2021-01-05 06:40:27 +07:00

26 lines
823 B
Bash

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