fa3d89a7c0
It seems that the main GNU download site has issues in some places outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick a nearby mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
485 B
Ruby
18 lines
485 B
Ruby
require 'formula'
|
|
|
|
class Ocrad < Formula
|
|
url 'http://ftpmirror.gnu.org/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
|