2010-06-22 22:20:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Atf < Formula
|
2012-07-01 21:58:58 +00:00
|
|
|
homepage 'http://code.google.com/p/kyua/wiki/ATF'
|
2012-12-08 18:35:35 +00:00
|
|
|
url 'http://kyua.googlecode.com/files/atf-0.16.tar.gz'
|
|
|
|
sha256 'f33a85f4a0677f40be406baaf6a5a749ca02870af9707f7606a0f3fa613c8339'
|
2010-06-22 22:20:02 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2012-07-01 21:58:58 +00:00
|
|
|
"--sysconfdir=#{etc}"
|
|
|
|
system 'make'
|
|
|
|
ENV.j1 # Fixes an llvm race condition error where a file exists.
|
|
|
|
system 'make install'
|
2010-06-22 22:20:02 +00:00
|
|
|
end
|
|
|
|
end
|