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>
This commit is contained in:
nibbles 2bits 2012-07-01 14:58:58 -07:00 committed by Adam Vandenberg
parent afaec34a2b
commit 5c7315e98a

View file

@ -1,15 +1,16 @@
require 'formula'
class Atf < Formula
url 'ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.14/atf-0.14.tar.gz'
homepage 'http://www.netbsd.org/~jmmv/atf/index.html'
sha256 'bfdd26321f3e4d62254277a646b2df7ce113369c4a79090b8d77c2e9979eba7a'
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}",
"--mandir=#{man}"
system "make install"
"--sysconfdir=#{etc}"
system 'make'
ENV.j1 # Fixes an llvm race condition error where a file exists.
system 'make install'
end
end