2009-11-20 22:54:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Iodine < Formula
|
2010-11-16 09:00:30 +00:00
|
|
|
url 'http://code.kryo.se/iodine/iodine-0.6.0-rc1.tar.gz'
|
2009-11-20 22:54:44 +00:00
|
|
|
homepage 'http://code.kryo.se/iodine/'
|
2010-11-16 09:00:30 +00:00
|
|
|
md5 'a15bb4faba020d217016fde6e231074a'
|
2009-11-20 22:54:44 +00:00
|
|
|
|
|
|
|
def install
|
2011-04-08 18:16:37 +00:00
|
|
|
unless MacOS.leopard?
|
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
|