2009-12-08 10:18:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Hunspell < Formula
|
2011-03-08 20:25:08 +00:00
|
|
|
url 'http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz'
|
2009-12-08 10:18:57 +00:00
|
|
|
homepage 'http://hunspell.sourceforge.net/'
|
2011-03-08 20:25:08 +00:00
|
|
|
md5 '3121aaf3e13e5d88dfff13fb4a5f1ab8'
|
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
|