2012-05-17 23:14:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Hwloc < Formula
|
|
|
|
homepage 'http://www.open-mpi.org/projects/hwloc/'
|
2012-10-21 13:37:58 +00:00
|
|
|
url 'http://www.open-mpi.org/software/hwloc/v1.5/downloads/hwloc-1.5.1.tar.gz'
|
|
|
|
sha1 '3b01a09ac4a504ebae52912d9ad7265677d144b4'
|
2012-05-17 23:14:56 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
# Uses Cairo, tested against Snow Leopard version
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|