aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hunspell.rb
blob: a7db5a03485aea10afbe3e3c6864f7bab98e9f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Hunspell < Formula
  homepage 'http://hunspell.sourceforge.net/'
  url 'http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz'
  sha1 '902c76d2b55a22610e2227abc4fd26cbe606a51c'

  depends_on 'readline'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--with-ui",
                          "--with-readline"
    system "make"
    ENV.deparallelize
    system "make install"
  end
end