aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hunspell.rb
blob: 6060bed2b0d632ae183b9d314f612625b7d167d3 (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