2010-05-21 09:38:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class N2n < Formula
|
|
|
|
url 'http://www.sideshowcoder.railsplayground.net/files/n2n-2.7.tar.gz'
|
|
|
|
homepage 'http://www.ntop.org/n2n/'
|
2010-04-07 05:58:35 +00:00
|
|
|
md5 '8e64e4fd0ebf05c76b942549dc8b6b76'
|
2010-05-21 09:38:25 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
def caveats; <<-EOF.undent
|
2011-04-04 23:56:47 +00:00
|
|
|
n2n requires the tun/tap devices. To get these on OS X:
|
2010-04-07 05:58:35 +00:00
|
|
|
http://tuntaposx.sourceforge.net/download.xhtml
|
2010-05-21 09:38:25 +00:00
|
|
|
EOF
|
|
|
|
end
|
|
|
|
end
|