homebrew-core/Formula/apachetop.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

15 lines
476 B
Ruby

require 'formula'
class Apachetop <Formula
url 'http://www.webta.org/apachetop/apachetop-0.12.6.tar.gz'
homepage 'http://www.webta.org/projects/apachetop/'
md5 '604283ac4bbbddd98fc9b1f11381657e'
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
"--with-logfile=/var/log/apache2/access_log"
system "make install"
end
end