31 lines
845 B
Plaintext
31 lines
845 B
Plaintext
# Description: Replacement for Berkeley Mail and System V mailx command
|
|
# URL: http://nail.sourceforge.net/
|
|
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: openssl
|
|
|
|
name=nail
|
|
version=11.25
|
|
release=1
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i 's|/etc/nail.rc|/usr/etc/nail.rc|' nail.1
|
|
echo 'set PAGER=/usr/bin/less' >> nail.rc
|
|
|
|
make install \
|
|
PREFIX=/usr \
|
|
SYSCONFDIR=/usr/etc \
|
|
MANDIR=/usr/man \
|
|
SENDMAIL=/usr/sbin/sendmail \
|
|
MAILSPOOL=/var/spool/mail \
|
|
UCBINSTALL=/usr/bin/install \
|
|
DESTDIR=$PKG
|
|
|
|
ln -s nail $PKG/usr/bin/Mail
|
|
ln -s nail $PKG/usr/bin/mail
|
|
ln -s nail $PKG/usr/bin/mailx
|
|
ln -s nail.1 $PKG/usr/man/man1/mail.1
|
|
}
|