5c7315e98a
Upgrade atf to version 0.15. Change to the new homepage because the old `homepage` redirects. Change the `url` to googlecode according to the `homepage`. Remove the `--mandir` because it work correctly now. Add `ENV.j1` and a separate `make install` step to stop a race condition when brewing with llvm where a file is claimed to exist. Tested on Lion using clang and llvm from XCode-4.3.3. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
518 B
Ruby
16 lines
518 B
Ruby
require 'formula'
|
|
|
|
class Atf < Formula
|
|
homepage 'http://code.google.com/p/kyua/wiki/ATF'
|
|
url 'http://kyua.googlecode.com/files/atf-0.15.tar.gz'
|
|
sha256 '0c7242a107c7e308feed8fac45a194a6f6c8d90283add576cfc3dab0fcd61b2b'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--sysconfdir=#{etc}"
|
|
system 'make'
|
|
ENV.j1 # Fixes an llvm race condition error where a file exists.
|
|
system 'make install'
|
|
end
|
|
end
|