2006-03-04 15:10:18 +00:00
|
|
|
# Description: Replacement for Berkeley Mail and System V mailx command
|
2021-02-24 11:48:48 +01:00
|
|
|
# URL: http://www.sdaoden.eu/code.html
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: openssl ncurses
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
name=mailx
|
2022-03-28 15:47:32 +02:00
|
|
|
version=14.9.24
|
2015-06-12 11:00:59 +02:00
|
|
|
release=1
|
2019-07-28 10:56:07 +02:00
|
|
|
source=(https://www.sdaoden.eu/downloads/s-nail-$version.tar.xz)
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
build() {
|
2021-02-24 11:48:48 +01:00
|
|
|
cd s-nail-$version
|
2006-03-04 15:10:18 +00:00
|
|
|
|
2021-02-24 11:48:48 +01:00
|
|
|
make config \
|
|
|
|
VAL_SID= \
|
|
|
|
VAL_MAILX=mailx \
|
|
|
|
VAL_PREFIX=/usr \
|
|
|
|
VAL_LIBEXECDIR=/usr/lib/mailx \
|
|
|
|
OPT_AUTOCC=no
|
2017-07-24 10:47:04 +02:00
|
|
|
|
2021-02-24 11:48:48 +01:00
|
|
|
make DESTDIR=$PKG install
|
2006-03-04 15:10:18 +00:00
|
|
|
|
2021-02-24 11:48:48 +01:00
|
|
|
chmod -R u+w $PKG
|
2015-05-01 11:29:27 +02:00
|
|
|
|
2021-02-24 11:48:48 +01:00
|
|
|
ln -s mailx $PKG/usr/bin/Mail
|
|
|
|
ln -s mailx $PKG/usr/bin/mail
|
|
|
|
ln -s mailx.1 $PKG/usr/share/man/man1/mail.1
|
2006-03-04 15:10:18 +00:00
|
|
|
}
|