homebrew-core/Formula/omega.rb

29 lines
935 B
Ruby
Raw Normal View History

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"
2014-09-07 18:07:52 +00:00
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