void-packages/srcpkgs/s-nail/template

27 lines
830 B
Plaintext

# Template file for 's-nail'
pkgname=s-nail
version=14.5.1
_version="14_5_1"
revision=2
makedepends="openssl-devel libidn-devel"
conf_files="/etc/mail.rc"
provides="mail-${version}"
replaces="mail>=0"
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=5db746771d1cd33350ff6dc3a1249cf7b7a5b025fc5b90f9ff21a917f599501a
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 config
make CC=$CC ${makejobs} build
}
do_install() {
make DESTDIR=$DESTDIR packager-install
vinstall COPYING 644 usr/share/licenses/${pkgname}
}