2010-08-18 03:42:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ocrad < Formula
|
2010-08-18 03:42:37 +00:00
|
|
|
homepage 'http://www.gnu.org/software/ocrad/'
|
2014-03-24 12:25:29 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/ocrad/ocrad-0.23.tar.lz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/ocrad/ocrad-0.23.tar.lz'
|
|
|
|
sha1 '8f539613ce6eb816c691f37ef0977adfcdab5e92'
|
2010-08-18 03:42:37 +00:00
|
|
|
|
2014-03-24 13:05:42 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "a3714c9fe1685bf247ba7ff127a098eb1ac0b9d9" => :mavericks
|
|
|
|
sha1 "fbc42888aa3700c6420eedb6aa3c7aea27d2e80d" => :mountain_lion
|
|
|
|
sha1 "3bc70ab2c0df8e0368990d146c03c34ed29d1e9a" => :lion
|
|
|
|
end
|
|
|
|
|
2010-08-18 03:42:37 +00:00
|
|
|
def install
|
2013-12-02 14:59:18 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2012-05-15 18:47:30 +00:00
|
|
|
system "make", "install", "CXXFLAGS=#{ENV.cxxflags}"
|
2010-08-18 03:42:37 +00:00
|
|
|
end
|
2013-12-02 14:59:18 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/ocrad", "-h"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|