homebrew-core/Formula/ocrad.rb
Jack Nagel 5bd598db36 Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:12 -05:00

14 lines
452 B
Ruby

require 'formula'
class Ocrad < Formula
homepage 'http://www.gnu.org/software/ocrad/'
url 'http://ftpmirror.gnu.org/ocrad/ocrad-0.21.tar.gz'
mirror 'http://ftp.gnu.org/gnu/ocrad/ocrad-0.21.tar.gz'
md5 '83f9eae9d808f9d86c181538d3f64aed'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install", "CXXFLAGS=#{ENV.cxxflags}"
end
end