2009-11-20 22:54:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Iodine <Formula
|
|
|
|
url 'http://code.kryo.se/iodine/iodine-0.5.2.tar.gz'
|
|
|
|
homepage 'http://code.kryo.se/iodine/'
|
|
|
|
md5 '6952343cc4614857f83dbb81247871e7'
|
|
|
|
|
|
|
|
def install
|
|
|
|
if MACOS_VERSION >= 10.6
|
2010-02-19 19:19:01 +00:00
|
|
|
inreplace ["src/common.c", "src/dns.c", "src/iodine.c", "src/iodined.c"],
|
|
|
|
"arpa/nameser8_compat", "arpa/nameser_compat"
|
2009-11-20 22:54:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
system "make install prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
end
|