we have to use the sources from CVS because version 12.4 refused to build with openssl 1.0.0. Looks like the mailx author considers to distribute the sources only by CVS and no longer via tar-balls. See - http://thread.gmane.org/gmane.mail.nail.devel/1390 - http://thread.gmane.org/gmane.mail.nail.devel/1401
30 lines
802 B
Plaintext
30 lines
802 B
Plaintext
# Description: Replacement for Berkeley Mail and System V mailx command
|
|
# URL: http://nail.sourceforge.net/
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: openssl
|
|
|
|
name=mailx
|
|
version=12.5pre-100509
|
|
release=1
|
|
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
|
|
|
|
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
|
|
}
|