void-packages/srcpkgs/s-nail/template

26 lines
828 B
Text
Raw Normal View History

2013-12-13 14:32:40 +00:00
# Template file for 's-nail'
pkgname=s-nail
2014-06-26 18:51:05 +00:00
version=14.7.1
2014-04-06 11:08:55 +00:00
revision=1
2013-12-28 12:19:33 +00:00
makedepends="openssl-devel libidn-devel"
conf_files="/etc/mail.rc"
2014-01-22 17:33:05 +00:00
provides="mail-${version}_${revision}"
replaces="mail>=0"
2013-12-13 14:32:40 +00:00
short_desc="Mail processing system with a command syntax reminiscent of ed"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="http://s-nail.sourceforge.net/"
2014-01-22 17:33:05 +00:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version//./_}.tar.gz"
2014-06-26 18:55:53 +00:00
checksum=4d5709707eb39799898a1708cdb5df67c266a098effc2e94f5a0070ae182f2db
2013-12-13 14:32:40 +00:00
do_build() {
make PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin \
2013-12-28 12:19:33 +00:00
MANDIR=/usr/share/man MAILSPOOL=/var/spool/mail XPAGER=less WANT_IDNA=1 config
2013-12-13 14:32:40 +00:00
make CC=$CC ${makejobs} build
}
do_install() {
make DESTDIR=$DESTDIR packager-install
vinstall COPYING 644 usr/share/licenses/${pkgname}
}