opt/mailx/Pkgfile
2014-12-17 09:37:17 +01:00

28 lines
722 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.7.8
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
}