homebrew-core/Formula/omega.rb
Alex Dunn ca3afc289e omega 1.4.3
Closes #11280.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2017-03-19 10:42:42 -07:00

30 lines
1.1 KiB
Ruby

class Omega < Formula
desc "Packaged search engine for websites, built on top of Xapian"
homepage "https://xapian.org/"
url "https://oligarchy.co.uk/xapian/1.4.3/xapian-omega-1.4.3.tar.xz"
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/x/xapian-omega/xapian-omega_1.4.3.orig.tar.xz"
sha256 "2eea0344a0703ba379d845b86d08a9c2e9faf0deb21834d9ea6939b712c6216e"
bottle do
sha256 "513cf3679b92be4aa65c3a098323960d53691d0b69f13b846c4e6d0ee762195d" => :sierra
sha256 "b6db4104b569317cb9ab1dd8b7a8876f4e8902373567b23433150be6905bf772" => :el_capitan
sha256 "f4830534a3a4803142c6ce5b037955c98b0756bd9c483f435314d0a1dcd6d2ec" => :yosemite
end
depends_on "libmagic"
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