aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFelix Rotthowe2010-05-18 21:21:25 +0200
committerAdam Vandenberg2010-05-19 10:19:34 -0700
commitfbf0c41983e15e6cd50d19631e128e054205b97c (patch)
tree6c6064e7413ea61644a4411be788bc6e44c44fca /Library
parent849421c7351b45e8b63211d1e9581ad281ec0c12 (diff)
downloadhomebrew-fbf0c41983e15e6cd50d19631e128e054205b97c.tar.bz2
added leptonica
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Fix homepage
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/leptonica.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/leptonica.rb b/Library/Formula/leptonica.rb
new file mode 100644
index 000000000..1bf138089
--- /dev/null
+++ b/Library/Formula/leptonica.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Leptonica < Formula
+ url 'http://leptonica.googlecode.com/files/leptonlib-1.65.tar.gz'
+ homepage 'http://code.google.com/p/leptonica/'
+ md5 '5dd42b2337834cc796b8f8de7ab532cd'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end