homebrew-core/Formula/libatomic_ops.rb
Noah Watkins 24c75a2dd7 libatomic_ops: 7.2d - portable atomic operations
Add a new formula for libatomic_ops that provides portable atomic
operations on many platforms.

Closes Homebrew/homebrew#21757.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>
2013-09-10 13:01:41 -07:00

14 lines
430 B
Ruby

require 'formula'
class LibatomicOps < Formula
homepage 'http://www.hpl.hp.com/research/linux/atomic_ops/'
url 'http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-7.2d.tar.gz'
sha1 'ed5bb963648bdfb87fc815a9037114654d164907'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make", "check"
system "make", "install"
end
end