homebrew-core/Formula/omega.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

28 lines
935 B
Ruby

class Omega < Formula
desc "Packaged search engine for websites, built on top of Xapian"
homepage "http://xapian.org"
url "http://oligarchy.co.uk/xapian/1.2.18/xapian-omega-1.2.18.tar.xz"
sha256 "528feb8021a52ab06c7833cb9ebacefdb782f036e99e7ed5342046c3a82380c2"
bottle do
sha1 "afdc13cb8c4a768df40606f12943ef56a314e3d3" => :mavericks
sha1 "7ea1a55103d2367a4d033508336274e0181a64bd" => :mountain_lion
sha1 "55217805d501af8d6bfac7db3a65e3b403d4c0b6" => :lion
end
depends_on "pcre"
depends_on "xapian"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/omindex", "--db", "./test", "--url", "/", "#{share}/doc/xapian-omega"
assert File.exist?("./test/flintlock")
end
end