aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/apachetop.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-09-29 15:02:47 -0700
committerMax Howell2009-09-30 18:04:05 +0100
commitb5de30f0dc2bb65f490665b89f1a22f46df41696 (patch)
tree2f1fb22c4978a179b0defd544d75e58baac30208 /Library/Formula/apachetop.rb
parent60d3bae80fc141f06e886d5df283801462eca007 (diff)
downloadhomebrew-b5de30f0dc2bb65f490665b89f1a22f46df41696.tar.bz2
Formula for ApacheTop
Diffstat (limited to 'Library/Formula/apachetop.rb')
-rw-r--r--Library/Formula/apachetop.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/apachetop.rb b/Library/Formula/apachetop.rb
new file mode 100644
index 000000000..cc763124d
--- /dev/null
+++ b/Library/Formula/apachetop.rb
@@ -0,0 +1,15 @@
+require 'brewkit'
+
+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