2006-03-04 15:10:18 +00:00
|
|
|
# Description: Replacement for Berkeley Mail and System V mailx command
|
|
|
|
# URL: http://nail.sourceforge.net/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-03-04 15:10:18 +00:00
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
name=mailx
|
2010-06-21 13:41:37 +02:00
|
|
|
version=12.5-100620
|
2006-03-04 15:10:18 +00:00
|
|
|
release=1
|
2010-06-21 13:41:37 +02:00
|
|
|
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
|
2006-03-04 15:10:18 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
sed -i 's|/etc/nail.rc|/usr/etc/mailx.rc|' mailx.1
|
|
|
|
|
|
|
|
make install \
|
|
|
|
PREFIX=/usr \
|
|
|
|
SYSCONFDIR=/usr/etc \
|
|
|
|
MAILRC=/usr/etc/mailx.rc \
|
|
|
|
MANDIR=/usr/man \
|
|
|
|
SENDMAIL=/usr/sbin/sendmail \
|
|
|
|
MAILSPOOL=/var/spool/mail \
|
|
|
|
UCBINSTALL=/usr/bin/install \
|
|
|
|
DESTDIR=$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
|
|
|
|
}
|