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

class Hunspell <Formula
  url 'http://downloads.sourceforge.net/hunspell/hunspell-1.2.14.tar.gz'
  homepage 'http://hunspell.sourceforge.net/'
  md5 'c2f289af57a677e6b258f2d18ecb178e'

  depends_on 'readline'

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