2014-07-19 14:41:55 +00:00
|
|
|
require "formula"
|
2010-02-26 16:11:12 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Fio < Formula
|
2014-07-19 14:41:55 +00:00
|
|
|
homepage "http://freecode.com/projects/fio"
|
|
|
|
url "http://brick.kernel.dk/snaps/fio-2.1.11.tar.bz2"
|
|
|
|
sha1 "3a9e82477f29155fab531cb9d527469fef85042b"
|
2010-02-26 16:11:12 +00:00
|
|
|
|
|
|
|
def install
|
2013-04-24 07:41:24 +00:00
|
|
|
system "./configure"
|
|
|
|
# fio's CFLAGS passes vital stuff around, and crushing it will break the build
|
2012-02-10 05:26:32 +00:00
|
|
|
system "make", "prefix=#{prefix}",
|
|
|
|
"mandir=#{man}",
|
2014-07-19 14:41:55 +00:00
|
|
|
"sharedir=#{share}",
|
2012-02-10 05:26:32 +00:00
|
|
|
"CC=#{ENV.cc}",
|
2013-04-24 07:41:24 +00:00
|
|
|
"V=true", # get normal verbose output from fio's makefile
|
2012-02-10 05:26:32 +00:00
|
|
|
"install"
|
2010-02-26 16:11:12 +00:00
|
|
|
end
|
|
|
|
end
|