Add lsof 4.82

The free, open-source, Unix administrative tool lsof (for LiSt Open
Files) displays information about files open to Unix processes.
This commit is contained in:
Adam Vandenberg 2009-12-23 14:32:33 -06:00
parent 394f40e7ee
commit 1188e94c3b

18
Formula/lsof.rb Normal file
View file

@ -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