22 lines
518 B
Ruby
22 lines
518 B
Ruby
require 'formula'
|
|
|
|
class Mboxgrep < Formula
|
|
homepage "http://www.mboxgrep.org"
|
|
url "https://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
|
|
|
|
test do
|
|
system "#{bin}/mboxgrep", "--version"
|
|
end
|
|
end
|