summaryrefslogtreecommitdiffstats
path: root/base/mailx/Pkgfile
blob: 63fc06b645b9c329931cda87bdce6864b859e506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Client de messagerie electronique
# URL: http://nail.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: openssl

name=mailx
version=12.4
release=1
source=( http://downloads.sourceforge.net/heirloom/$name-$version.tar.bz2)


build() {
	cd $name-$version
	make install \
	PREFIX=/usr \
	MANDIR=/usr/share/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/share/man/man1/mail.1
}