void-packages/srcpkgs/s-nail/template
2014-07-14 17:48:57 +02:00

25 lines
795 B
Text

# Template file for 's-nail'
pkgname=s-nail
version=14.7.3
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=9eceba6393ef13b6a49454773d7c040c2e942e4d99406b86a78e2686c39656a2
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 config
make CC=$CC ${makejobs} build
}
do_install() {
make DESTDIR=$DESTDIR packager-install
vlicense COPYING
}