aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPeter Aronoff2013-09-06 16:55:00 -0400
committerAdam Vandenberg2013-09-11 17:34:15 -0700
commit582083e70098e25649c798117af2ccedd5388eb3 (patch)
treee1650179169e5823dd226cdb7bfb726fb6078f3e /Library/Formula
parent155e640cf27b1697f3a61ebbdc922e3e4aa0ebae (diff)
downloadhomebrew-582083e70098e25649c798117af2ccedd5388eb3.tar.bz2
mboxgrep 0.7.9
Closes #22364. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mboxgrep.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/mboxgrep.rb b/Library/Formula/mboxgrep.rb
new file mode 100644
index 000000000..a6864a1b3
--- /dev/null
+++ b/Library/Formula/mboxgrep.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Mboxgrep < Formula
+ homepage "http://www.mboxgrep.org"
+ url "http://downloads.sourceforge.net/project/mboxgrep/mboxgrep/0.7.9/mboxgrep-0.7.9.tar.gz"
+ sha1 "dc6dcaee5fc22bf606328b378883da34600be11a"
+
+ depends_on "pcre"
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--infodir=#{info}"
+ system "make"
+ system "make", "install"
+ end
+
+ def test
+ system "#{bin}/mboxgrep", "--version"
+ end
+end