homebrew-core/Formula/ocrad.rb

25 lines
664 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ocrad < Formula
homepage 'http://www.gnu.org/software/ocrad/'
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'
2014-03-24 13:05:42 +00:00
bottle do
cellar :any
sha1 "a3714c9fe1685bf247ba7ff127a098eb1ac0b9d9" => :mavericks
sha1 "fbc42888aa3700c6420eedb6aa3c7aea27d2e80d" => :mountain_lion
sha1 "3bc70ab2c0df8e0368990d146c03c34ed29d1e9a" => :lion
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install", "CXXFLAGS=#{ENV.cxxflags}"
end
test do
system "#{bin}/ocrad", "-h"
end
2011-03-10 05:11:03 +00:00
end