2009-12-23 20:32:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Lsof <Formula
|
2010-12-31 05:08:13 +00:00
|
|
|
url 'ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_4.84.tar.bz2'
|
2010-12-07 03:42:30 +00:00
|
|
|
version '4.84'
|
|
|
|
md5 'a09326df500ef7e4550af546868338d6'
|
2009-12-23 20:32:33 +00:00
|
|
|
homepage 'http://people.freebsd.org/~abe/'
|
|
|
|
|
|
|
|
def install
|
2010-12-07 03:42:30 +00:00
|
|
|
system "tar xf lsof_4.84_src.tar"
|
2010-12-07 04:25:21 +00:00
|
|
|
Dir.chdir "lsof_4.84_src" do
|
2009-12-23 20:32:33 +00:00
|
|
|
mv "00README", "../README"
|
|
|
|
system "./Configure -n darwin"
|
|
|
|
system "make"
|
|
|
|
bin.install "lsof"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|