opt/mailx/Pkgfile

28 lines
712 B
Plaintext

# Description: Replacement for Berkeley Mail and System V mailx command
# URL: http://nail.sourceforge.net/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl readline
name=mailx
version=14.7.1
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='' \
CFLAGS="$CFLAGS" \
PREFIX=/usr \
SYSCONFRC=/usr/etc/mailx.rc \
MAILSPOOL=/var/spool/mail \
DESTDIR=$PKG \
WANT_READLINE=1
ln -s mailx $PKG/usr/bin/Mail
ln -s mailx $PKG/usr/bin/mail
ln -s mailx.1 $PKG/usr/man/man1/mail.1
}