void-packages/srcpkgs/s-nail/template
2014-03-02 22:19:55 +01:00

25 lines
828 B
Text

# Template file for 's-nail'
pkgname=s-nail
version=14.6.2
revision=1
makedepends="openssl-devel libidn-devel"
conf_files="/etc/mail.rc"
provides="mail-${version}_${revision}"
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=150742c37cfbd0765b3b498a5945e267ff572ab707ed3f0437554730f3d4ea06
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}
}