void-packages/srcpkgs/s-nail/template

27 lines
840 B
Plaintext

# Template file for 's-nail'
pkgname=s-nail
version=14.7.8
revision=1
makedepends="libressl-devel libidn-devel"
conf_files="/etc/mail.rc"
short_desc="Mail processing system with a command syntax reminiscent of ed"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="http://s-nail.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version//./_}.tar.gz"
checksum=c94a317bf14d9287a37213eec4d8597fc0a9053191e94467bee670971322eb3e
provides="mail-${version}_${revision}"
replaces="mail>=0"
do_build() {
make PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin MANDIR=/usr/share/man \
MAILSPOOL=/var/spool/mail XPAGER=less WANT_IDNA=1 WANT_AUTOCC=0 SENDMAIL=/usr/bin/sendmail \
config
make CC=$CC ${makejobs} build
}
do_install() {
make DESTDIR=$DESTDIR packager-install
vlicense COPYING
}