2006-03-04 15:10:18 +00:00
|
|
|
# Description: Replacement for Berkeley Mail and System V mailx command
|
|
|
|
# URL: http://nail.sourceforge.net/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2013-12-20 20:03:54 +01:00
|
|
|
# Depends on: openssl readline
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
name=mailx
|
2014-10-02 13:05:33 +02:00
|
|
|
version=14.7.8
|
2006-03-04 15:10:18 +00:00
|
|
|
release=1
|
2014-01-19 14:55:15 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/s-nail/s-nail-${version//./_}.tar.xz)
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
build() {
|
2013-07-14 12:03:51 +02:00
|
|
|
cd s-nail-$version
|
2006-03-04 15:10:18 +00:00
|
|
|
|
2013-07-14 12:03:51 +02:00
|
|
|
make install \
|
|
|
|
NAIL=mailx \
|
|
|
|
SID='' \
|
|
|
|
CFLAGS="$CFLAGS" \
|
2006-03-04 15:10:18 +00:00
|
|
|
PREFIX=/usr \
|
2013-07-14 12:03:51 +02:00
|
|
|
SYSCONFRC=/usr/etc/mailx.rc \
|
2006-03-04 15:10:18 +00:00
|
|
|
MAILSPOOL=/var/spool/mail \
|
2013-09-27 11:23:09 +02:00
|
|
|
DESTDIR=$PKG \
|
2013-12-20 20:03:54 +01:00
|
|
|
WANT_READLINE=1
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
ln -s mailx $PKG/usr/bin/Mail
|
|
|
|
ln -s mailx $PKG/usr/bin/mail
|
|
|
|
ln -s mailx.1 $PKG/usr/man/man1/mail.1
|
|
|
|
}
|