require 'formula' class Iodine = 10.6 ["src/common.c", "src/dns.c", "src/iodine.c", "src/iodined.c"].each do |filename| inreplace filename, "arpa/nameser8_compat", "arpa/nameser_compat" end end system "make install prefix=#{prefix}" end end