aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fio.rb
blob: e59300db810ce56c3becfeed924144776b98ee0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Fio < Formula
  homepage 'http://freecode.com/projects/fio'
  url 'http://brick.kernel.dk/snaps/fio-2.0.15.tar.bz2'
  sha1 '3b672f19ef37d0f4d733dc78820a5e4a735b9a7f'

  def install
    system "./configure"
    # fio's CFLAGS passes vital stuff around, and crushing it will break the build
    system "make", "prefix=#{prefix}",
                   "mandir=#{man}",
                   "CC=#{ENV.cc}",
                   "V=true", # get normal verbose output from fio's makefile
                   "install"
  end
end