homebrew-core/Formula/avanor.rb

19 lines
468 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Avanor < Formula
url 'http://downloads.sourceforge.net/project/avanor/avanor/0.5.8/avanor-0.5.8-src.tar.bz2'
homepage 'http://avanor.sourceforge.net/'
md5 '20067962b9635b1789933ddd7933d142'
def install
inreplace 'Makefile' do |s|
s.gsub! "CC = gpp", "CC = cpp"
s.gsub! "LD = gpp", "LD = cpp"
end
system "make DATA_DIR=#{share}/avanor/"
bin.install "avanor"
(share+"avanor").install "manual"
end
end