2006-03-04 15:10:18 +00:00
|
|
|
# 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
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
name=mailx
|
2019-03-08 18:45:12 +01:00
|
|
|
version=14.9.13
|
2015-06-12 11:00:59 +02:00
|
|
|
release=1
|
2019-06-03 12:43:40 +02:00
|
|
|
source=(https://www.sdaoden.eu/downloads/s-nail-$version.tar.xz
|
|
|
|
s-nail-$version.diff)
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
build() {
|
2013-07-14 12:03:51 +02:00
|
|
|
cd s-nail-$version
|
2006-03-04 15:10:18 +00:00
|
|
|
|
2019-06-03 12:43:40 +02:00
|
|
|
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
|
2006-03-04 15:10:18 +00:00
|
|
|
|
2015-05-01 11:29:27 +02:00
|
|
|
chmod -R u+w $PKG
|
|
|
|
|
2006-03-04 15:10:18 +00:00
|
|
|
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
|
2006-03-04 15:10:18 +00:00
|
|
|
}
|