diff options
| author | Noah Watkins | 2013-08-08 07:30:43 -0700 |
|---|---|---|
| committer | Xiyue Deng | 2013-09-10 13:01:41 -0700 |
| commit | 8cecc1609c00e080578b7435554c53a00f73003a (patch) | |
| tree | 5c48f097da8790fa7abfee4b960a205b83be108e /Library/Formula | |
| parent | 8be04d0bc4e95bb65d0ab92ff7e6ee89accd2877 (diff) | |
| download | homebrew-8cecc1609c00e080578b7435554c53a00f73003a.tar.bz2 | |
libatomic_ops: 7.2d - portable atomic operations
Add a new formula for libatomic_ops that provides portable atomic
operations on many platforms.
Closes #21757.
Signed-off-by: Xiyue Deng <manphiz@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libatomic_ops.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/libatomic_ops.rb b/Library/Formula/libatomic_ops.rb new file mode 100644 index 000000000..dc4bd21dd --- /dev/null +++ b/Library/Formula/libatomic_ops.rb @@ -0,0 +1,14 @@ +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 |
