require "formula" class LibatomicOps < Formula homepage "https://github.com/ivmai/libatomic_ops/" url "http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.4.2.tar.gz" sha1 "57cd7c64e37fca300bd7b24e3d2f14129b25b376" def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" system "make", "check" system "make", "install" end end