31 lines
770 B
Plaintext
31 lines
770 B
Plaintext
# Description: Replacement for Berkeley Mail and System V mailx command
|
|
# URL: http://sourceforge.net/projects/s-nail/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: openssl readline
|
|
|
|
name=mailx
|
|
version=14.8.4
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/s-nail/s-nail-${version//./_}.tar.xz)
|
|
|
|
build() {
|
|
cd s-nail-$version
|
|
|
|
make install \
|
|
NAIL=mailx \
|
|
SID= \
|
|
PREFIX=/usr \
|
|
LIBEXECDIR=/usr/lib/mailx \
|
|
MANDIR=/usr/man \
|
|
SYSCONFRC=/usr/etc/mailx.rc \
|
|
DESTDIR=$PKG \
|
|
WANT_AUTOCC=no \
|
|
WANT_READLINE=yes
|
|
|
|
chmod -R u+w $PKG
|
|
|
|
ln -s mailx $PKG/usr/bin/Mail
|
|
ln -s mailx $PKG/usr/bin/mail
|
|
ln -s mailx.1 $PKG/usr/man/man1/mail.1
|
|
}
|