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-10-20 13:32:56 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "11c152b2f716a8188e7bad9ff691e279ba72b810" => :yosemite
|
|
|
|
sha1 "2a6e8102def1ca64b0582d93cbc7d47aed515818" => :mavericks
|
|
|
|
sha1 "77ad5d81082c547a1cc1d93465eca0571cb4dcdf" => :mountain_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
|