homebrew-core/Formula/ocrad.rb
Jack Nagel 83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00

19 lines
543 B
Ruby

require 'formula'
class Ocrad < Formula
url 'http://ftpmirror.gnu.org/ocrad/ocrad-0.20.tar.gz'
mirror 'http://ftp.gnu.org/gnu/ocrad/ocrad-0.20.tar.gz'
homepage 'http://www.gnu.org/software/ocrad/'
md5 '47040630580dbc75ce16f4a4fabede3f'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
inreplace "Makefile" do |s|
s.change_make_var! "CPPFLAGS", ENV['CPPFLAGS']
s.change_make_var! "CXXFLAGS", ENV['CXXFLAGS']
end
system "make install"
end
end