opt/mailx/Pkgfile

30 lines
733 B
Plaintext
Raw Normal View History

# Description: Replacement for Berkeley Mail and System V mailx command
2014-12-17 09:37:17 +01:00
# URL: http://sourceforge.net/projects/s-nail/
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl readline
name=mailx
2015-06-18 11:48:27 +02:00
version=14.8.2
2015-06-12 11:00:59 +02:00
release=1
2014-01-19 14:55:15 +01:00
source=(http://downloads.sourceforge.net/project/s-nail/s-nail-${version//./_}.tar.xz)
build() {
cd s-nail-$version
make install \
NAIL=mailx \
2015-05-02 14:14:12 +02:00
SID= \
PREFIX=/usr \
2015-06-18 11:48:27 +02:00
MANDIR=/usr/man \
SYSCONFRC=/usr/etc/mailx.rc \
2013-09-27 11:23:09 +02:00
DESTDIR=$PKG \
2015-05-02 14:14:12 +02:00
WANT_AUTOCC=no \
WANT_READLINE=yes
2015-05-01 11:29:27 +02:00
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
}