void-packages/srcpkgs/s-nail/template
2015-08-06 11:06:07 +00:00

27 lines
875 B
Bash

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