aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ocrad.rb
blob: 1dfe347d86ad69f43a6d2510836bdfb945d043e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

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'

  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
end