2009-12-08 10:18:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Hunspell < Formula
|
2009-12-08 10:18:57 +00:00
|
|
|
homepage 'http://hunspell.sourceforge.net/'
|
2013-01-28 04:50:01 +00:00
|
|
|
url 'http://downloads.sourceforge.net/hunspell/hunspell-1.3.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '902c76d2b55a22610e2227abc4fd26cbe606a51c'
|
2009-12-08 10:18:57 +00:00
|
|
|
|
2012-11-11 03:12:26 +00:00
|
|
|
depends_on 'readline'
|
2011-02-27 20:42:51 +00:00
|
|
|
|
2009-12-08 10:18:57 +00:00
|
|
|
def install
|
2011-08-14 01:53:03 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2013-01-28 04:50:01 +00:00
|
|
|
"--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
|