added leptonica

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Fix homepage
This commit is contained in:
Felix Rotthowe 2010-05-18 21:21:25 +02:00 committed by Adam Vandenberg
parent 9fcd7f54b1
commit 764819fe4f

12
Formula/leptonica.rb Normal file
View file

@ -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