2014-06-22 00:50:40 +00:00
|
|
|
require "formula"
|
2013-08-08 14:30:43 +00:00
|
|
|
|
|
|
|
class LibatomicOps < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Implementations for atomic memory update operations"
|
2014-06-22 00:50:40 +00:00
|
|
|
homepage "https://github.com/ivmai/libatomic_ops/"
|
|
|
|
url "http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.4.2.tar.gz"
|
|
|
|
sha1 "57cd7c64e37fca300bd7b24e3d2f14129b25b376"
|
2013-08-08 14:30:43 +00:00
|
|
|
|
2014-06-22 01:13:31 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-10-20 10:26:36 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "5820ac7413428e5a0ade9b34cb3394b2abddfd58" => :yosemite
|
|
|
|
sha1 "b314405de1ecda4e8ee8082443b642f1a4b11ae6" => :mavericks
|
|
|
|
sha1 "7dbd87d8daef4b8a91397f07091323f2a2580b3b" => :mountain_lion
|
2014-06-22 01:13:31 +00:00
|
|
|
end
|
|
|
|
|
2013-08-08 14:30:43 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make", "check"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|