2013-12-13 15:32:40 +01:00
|
|
|
# Template file for 's-nail'
|
|
|
|
pkgname=s-nail
|
2014-03-02 22:19:55 +01:00
|
|
|
version=14.6.2
|
2014-03-17 12:53:10 +01:00
|
|
|
revision=2
|
2013-12-28 13:19:33 +01:00
|
|
|
makedepends="openssl-devel libidn-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/mail.rc"
|
2014-01-22 18:33:05 +01:00
|
|
|
provides="mail-${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
replaces="mail>=0"
|
2013-12-13 15:32:40 +01: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 18:33:05 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version//./_}.tar.gz"
|
2014-03-02 22:19:55 +01:00
|
|
|
checksum=150742c37cfbd0765b3b498a5945e267ff572ab707ed3f0437554730f3d4ea06
|
2013-12-13 15:32:40 +01:00
|
|
|
|
|
|
|
do_build() {
|
2013-12-26 20:00:23 +01:00
|
|
|
make PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin \
|
2013-12-28 13:19:33 +01:00
|
|
|
MANDIR=/usr/share/man MAILSPOOL=/var/spool/mail XPAGER=less WANT_IDNA=1 config
|
2013-12-13 15:32:40 +01:00
|
|
|
make CC=$CC ${makejobs} build
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=$DESTDIR packager-install
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|