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

class Fio < Formula
  url 'http://brick.kernel.dk/snaps/fio-1.58.tar.bz2'
  homepage 'http://freshmeat.net/projects/fio/'
  md5 'bc5600997788bce5647576a4976d461d'

  def install
    inreplace 'Makefile' do |s|
      s.change_make_var! 'mandir', man
    end
    make_cmd = "make prefix=#{prefix}"
    system "#{make_cmd} && #{make_cmd} install"
  end
end