aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexis Hildebrandt2009-12-28 01:11:47 +0100
committerMax Howell2010-01-23 12:21:14 +0000
commit135488c41947d23db62bbd65a2e00e3af9f4497e (patch)
tree87f1656ba3fc94eb1126012367bd0c1e0bcfa631 /Library/Formula
parentb84591ef77020a86b11dc4e432c1d243482680a5 (diff)
downloadhomebrew-135488c41947d23db62bbd65a2e00e3af9f4497e.tar.bz2
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."
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/enchant.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/enchant.rb b/Library/Formula/enchant.rb
new file mode 100644
index 000000000..c4aed1ae2
--- /dev/null
+++ b/Library/Formula/enchant.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Enchant <Formula
+ url 'http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz'
+ homepage 'http://www.abisource.com/projects/enchant/'
+ md5 '7dfaed14e142b4a0004b770c9568ed02'
+
+ depends_on 'aspell' => :optional
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end