2009-12-08 10:18:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Hunspell <Formula
|
2011-02-12 10:43:11 +00:00
|
|
|
url 'http://downloads.sourceforge.net/hunspell/hunspell-1.2.14.tar.gz'
|
2009-12-08 10:18:57 +00:00
|
|
|
homepage 'http://hunspell.sourceforge.net/'
|
2011-02-12 10:43:11 +00:00
|
|
|
md5 'c2f289af57a677e6b258f2d18ecb178e'
|
2009-12-08 10:18:57 +00:00
|
|
|
|
2011-02-27 20:42:51 +00:00
|
|
|
depends_on 'readline'
|
|
|
|
|
2009-12-08 10:18:57 +00:00
|
|
|
def install
|
2011-02-27 20:42:51 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--with-ui", "--with-readline"
|
2010-12-28 14:10:49 +00:00
|
|
|
system "make"
|
|
|
|
ENV.deparallelize
|
2009-12-08 10:18:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|