summaryrefslogtreecommitdiffstats
path: root/extra/mailx/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mailx/Pkgfile')
-rwxr-xr-xextra/mailx/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/mailx/Pkgfile b/extra/mailx/Pkgfile
new file mode 100755
index 000000000..63fc06b64
--- /dev/null
+++ b/extra/mailx/Pkgfile
@@ -0,0 +1,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
+}