2014-09-26 20:51:51 +00:00
|
|
|
require "formula"
|
2013-11-30 22:33:40 +00:00
|
|
|
|
|
|
|
class Libvoikko < Formula
|
2014-09-26 20:51:51 +00:00
|
|
|
homepage "http://voikko.puimula.org/"
|
|
|
|
url "http://www.puimula.org/voikko-sources/libvoikko/libvoikko-3.7.1.tar.gz"
|
|
|
|
sha1 "b6d7ec669bbc33ba5f526f53b1d297f9ee315178"
|
2013-11-30 22:33:40 +00:00
|
|
|
|
2014-07-03 21:27:44 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-09-26 20:59:34 +00:00
|
|
|
sha1 "5030c58d4d0b546238c01e32bbe83a4892be5ee1" => :mavericks
|
|
|
|
sha1 "e1661f5b027fc87c3bef402e1e99104301728522" => :mountain_lion
|
|
|
|
sha1 "903c390191a2b79386171fd36f70578fd75714c9" => :lion
|
2014-07-03 21:27:44 +00:00
|
|
|
end
|
|
|
|
|
2014-09-26 20:51:51 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "suomi-malaga-voikko"
|
2013-11-30 22:33:40 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-dictionary-path=#{HOMEBREW_PREFIX}/lib/voikko"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|