blob: cac5a90f9d351248c5d7c650f09f6f1117eba6ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
require 'formula'
class Httperf < Formula
  homepage 'http://code.google.com/p/httperf/'
  url 'https://httperf.googlecode.com/files/httperf-0.9.0.tar.gz'
  sha1 '2aa885c0c143d809c0e50a6eca5063090bddee35'
  option 'enable-debug', 'Build with debugging support'
  def install
    debug = build.include?('enable-debug') ? '--enable-debug' : '--disable-debug'
    system "./configure", debug,
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end
  |