aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/n2n.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/n2n.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
Update formulae for version 0.7
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/n2n.rb')
-rw-r--r--Library/Formula/n2n.rb17
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/n2n.rb b/Library/Formula/n2n.rb
index ff1e0e4f1..d029d2cfe 100644
--- a/Library/Formula/n2n.rb
+++ b/Library/Formula/n2n.rb
@@ -3,23 +3,22 @@ require 'formula'
class N2n < Formula
url 'http://www.sideshowcoder.railsplayground.net/files/n2n-2.7.tar.gz'
homepage 'http://www.ntop.org/n2n/'
- md5 '8e64e4fd0ebf05c76b942549dc8b6b76'
+ md5 '8e64e4fd0ebf05c76b942549dc8b6b76'
def install
system "make"
system "make", "PREFIX=#{prefix}", "install"
end
- def caveats
- <<-EOF.undent
- To link correctly you need to have access to the /usr/local/sbin
- and link n2n
+ def caveats; <<-EOF.undent
+ To link correctly you need to have access to the /usr/local/sbin
+ and link n2n
- $ chown `whoami`:staff /usr/local/sbin
- $ brew link n2n
+ $ chown `whoami`:staff /usr/local/sbin
+ $ brew link n2n
- n2n also requires the tun/tap devices. To get these on OS X:
- http://tuntaposx.sourceforge.net/download.xhtml
+ n2n also requires the tun/tap devices. To get these on OS X:
+ http://tuntaposx.sourceforge.net/download.xhtml
EOF
end
end