ocrad 0.21
This commit is contained in:
parent
0484062e3e
commit
1eecb6b793
1 changed files with 6 additions and 11 deletions
|
@ -1,19 +1,14 @@
|
|||
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'
|
||||
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}"
|
||||
|
||||
inreplace "Makefile" do |s|
|
||||
s.change_make_var! "CPPFLAGS", ENV['CPPFLAGS']
|
||||
s.change_make_var! "CXXFLAGS", ENV['CXXFLAGS']
|
||||
end
|
||||
|
||||
system "make install"
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install", "CXXFLAGS=#{ENV['CXXFLAGS']}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue