opt/mailx/Pkgfile
2015-05-02 14:14:12 +02:00

29 lines
706 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.0
release=2
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 \
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
}