2010-08-18 03:42:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ocrad < Formula
|
2010-08-18 03:42:37 +00:00
|
|
|
homepage 'http://www.gnu.org/software/ocrad/'
|
2012-02-11 04:59:50 +00:00
|
|
|
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'
|
2010-08-18 03:42:37 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-11 04:59:50 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2012-05-15 18:47:30 +00:00
|
|
|
system "make", "install", "CXXFLAGS=#{ENV.cxxflags}"
|
2010-08-18 03:42:37 +00:00
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|