Added mailcheck, simple utility to check for mail.
This commit is contained in:
parent
eac32cf697
commit
9558523821
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mailcheck-${version}";
|
||||||
|
version = "1.91.2";
|
||||||
|
|
||||||
|
patches = [ ./mailcheck-Makefile.patch ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/mailcheck/mailcheck_${version}.tar.gz";
|
||||||
|
sha256 = "0p0azaxsnjvjbg41ycicc1i0kzw6jiynq8k49cfkdhlckxfdm9kc";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Simple command line tool to check for new messages";
|
||||||
|
homepage = http://mailcheck.sourceforge.net/;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ kovirobi ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
A simple command line tool to check for new mail in local mbox and
|
||||||
|
maildir and remote POP3 and IMAP mailboxes.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
diff -u a/Makefile b/Makefile
|
||||||
|
--- a/Makefile 2015-04-05 19:31:41.871227295 +0100
|
||||||
|
+++ b/Makefile 2015-04-05 19:42:49.743517508 +0100
|
||||||
|
@@ -1,3 +1,5 @@
|
||||||
|
+prefix=$(out)
|
||||||
|
+
|
||||||
|
all: mailcheck
|
||||||
|
|
||||||
|
debug: mailcheck.c netrc.c netrc.h socket.c
|
||||||
|
@@ -7,8 +9,10 @@
|
||||||
|
$(CC) -Wall -O2 mailcheck.c netrc.c socket.c -s -o mailcheck
|
||||||
|
|
||||||
|
install: mailcheck
|
||||||
|
- install mailcheck $(prefix)/usr/bin
|
||||||
|
- install -m 644 mailcheckrc $(prefix)/etc
|
||||||
|
+ [ -d $(prefix)/bin ] || mkdir $(prefix)/bin
|
||||||
|
+ [ -d $(prefix)/etc ] || mkdir $(prefix)/etc
|
||||||
|
+ install mailcheck $(prefix)/bin/
|
||||||
|
+ install -m 644 mailcheckrc $(prefix)/etc/
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
|
@ -1893,6 +1893,8 @@ let
|
||||||
|
|
||||||
macchanger = callPackage ../os-specific/linux/macchanger { };
|
macchanger = callPackage ../os-specific/linux/macchanger { };
|
||||||
|
|
||||||
|
mailcheck = callPackage ../applications/networking/mailreaders/mailcheck { };
|
||||||
|
|
||||||
maildrop = callPackage ../tools/networking/maildrop { };
|
maildrop = callPackage ../tools/networking/maildrop { };
|
||||||
|
|
||||||
mailsend = callPackage ../tools/networking/mailsend { };
|
mailsend = callPackage ../tools/networking/mailsend { };
|
||||||
|
|
Loading…
Reference in New Issue