s-nail: remove sed substitution and tune config

This commit is contained in:
Ypnose 2013-12-26 20:00:23 +01:00
parent 5b972f2059
commit 40b6c9afc1

View File

@ -2,7 +2,7 @@
pkgname=s-nail
version=14.5
_version="14_5"
revision=1
revision=2
makedepends="openssl-devel"
short_desc="Mail processing system with a command syntax reminiscent of ed"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
@ -12,9 +12,7 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${_version}.tar.gz"
checksum=f87eec31e2f57335afc812b44581d36a7a364258410309e22cb75a20fa267495
do_build() {
# rename s-nail to mail
sed 's/s-nail/mail/g' -i cc-test.sh
make CC=$CC PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin \
make PREFIX=/usr SYSCONFDIR=/etc SID= NAIL=mail BINDIR=/usr/bin \
MANDIR=/usr/share/man MAILSPOOL=/var/spool/mail XPAGER=less config
make CC=$CC ${makejobs} build
}