diff options
| author | Adam Vandenberg | 2009-12-23 14:32:33 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2010-01-16 10:36:32 -0800 |
| commit | 0336cefb0e54a89d535698225bfdda036f89bcb2 (patch) | |
| tree | 3a24bd0e428a4f060d4f5fe75d8a79d5aeaab06e /Library | |
| parent | e87777a565ce0c8fc45893bdec166e7e3ea53999 (diff) | |
| download | homebrew-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')
| -rw-r--r-- | Library/Formula/lsof.rb | 18 |
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 |
