homebrew-core/Formula/iodine.rb

17 lines
446 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Iodine < Formula
url 'http://code.kryo.se/iodine/iodine-0.6.0-rc1.tar.gz'
homepage 'http://code.kryo.se/iodine/'
sha1 '4fa9a248b8a84df8a727a5d749e669e58136edca'
def install
unless MacOS.version == :leopard
inreplace ["src/common.c", "src/dns.c", "src/iodine.c", "src/iodined.c"],
"arpa/nameser8_compat", "arpa/nameser_compat"
end
system "make", "install", "prefix=#{prefix}"
end
end