opt/mailx/Pkgfile

32 lines
746 B
Plaintext
Raw Normal View History

# Description: Replacement for Berkeley Mail and System V mailx command
2017-07-24 10:47:04 +02:00
# URL: http://www.sdaoden.eu/code.html
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2017-07-24 10:47:04 +02:00
# Depends on: openssl ncurses
name=mailx
2019-03-08 18:45:12 +01:00
version=14.9.13
2015-06-12 11:00:59 +02:00
release=1
source=(https://www.sdaoden.eu/downloads/s-nail-$version.tar.xz
s-nail-$version.diff)
build() {
cd s-nail-$version
patch -p1 -i $SRC/s-nail-$version.diff
2017-07-24 10:47:04 +02:00
make config \
VAL_SID= \
VAL_MAILX=mailx \
VAL_PREFIX=/usr \
VAL_LIBEXECDIR=/usr/lib/mailx \
OPT_AUTOCC=no
make DESTDIR=$PKG install
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
2015-12-29 09:37:32 +01:00
ln -s mailx.1 $PKG/usr/share/man/man1/mail.1
}