2013-09-06 20:55:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mboxgrep < Formula
|
|
|
|
homepage "http://www.mboxgrep.org"
|
2014-02-27 14:19:55 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/mboxgrep/mboxgrep/0.7.9/mboxgrep-0.7.9.tar.gz"
|
2013-09-06 20:55:00 +00:00
|
|
|
sha1 "dc6dcaee5fc22bf606328b378883da34600be11a"
|
|
|
|
|
|
|
|
depends_on "pcre"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--infodir=#{info}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2013-09-06 20:55:00 +00:00
|
|
|
system "#{bin}/mboxgrep", "--version"
|
|
|
|
end
|
|
|
|
end
|