From 3b6260804d446a65556d53b7ed29d6afd8283610 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 28 Dec 2009 01:11:47 +0100 Subject: [PATCH] Enchant 1.5.0 On the surface, Enchant appears to be a generic spell checking library. You can request dictionaries from it, ask if a word is correctly spelled, get corrections for a misspelled word, etc... Beneath the surface, Enchant is a whole lot more - and less - than that. You'll see that Enchant isn't really a spell checking library at all. "What's that?" you ask. Well, Enchant doesn't try to do any of the work itself. It's lazy, and requires backends to do most of its dirty work. Looking closer, you'll see the Enchant is more-or-less a fancy wrapper around the dlopen() system call. Enchant steps in to provide uniformity and conformity on top of these libraries, and implement certain features that may be lacking in any individual provider library. Everything should "just work" for any and every definition of "just working." --- Formula/enchant.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Formula/enchant.rb diff --git a/Formula/enchant.rb b/Formula/enchant.rb new file mode 100644 index 00000000000..c4aed1ae27b --- /dev/null +++ b/Formula/enchant.rb @@ -0,0 +1,14 @@ +require 'formula' + +class Enchant :optional + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make install" + end +end