aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lsof.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-12-23 14:32:33 -0600
committerAdam Vandenberg2010-01-16 10:36:32 -0800
commit0336cefb0e54a89d535698225bfdda036f89bcb2 (patch)
tree3a24bd0e428a4f060d4f5fe75d8a79d5aeaab06e /Library/Formula/lsof.rb
parente87777a565ce0c8fc45893bdec166e7e3ea53999 (diff)
downloadhomebrew-0336cefb0e54a89d535698225bfdda036f89bcb2.tar.bz2
Add lsof 4.82
The free, open-source, Unix administrative tool lsof (for LiSt Open Files) displays information about files open to Unix processes.
Diffstat (limited to 'Library/Formula/lsof.rb')
-rw-r--r--Library/Formula/lsof.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/lsof.rb b/Library/Formula/lsof.rb
new file mode 100644
index 000000000..9bd433994
--- /dev/null
+++ b/Library/Formula/lsof.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Lsof <Formula
+ url 'ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.bz2'
+ version '4.82'
+ md5 '5518a0c16fc937523b3d1a946cf59e5b'
+ homepage 'http://people.freebsd.org/~abe/'
+
+ def install
+ system "tar xf lsof_4.82_src.tar"
+ Dir.chdir "lsof_4.82_src" do
+ mv "00README", "../README"
+ system "./Configure -n darwin"
+ system "make"
+ bin.install "lsof"
+ end
+ end
+end