homebrew-core/Formula/fio.rb

16 lines
373 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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