2012-05-17 23:14:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Hwloc < Formula
|
|
|
|
homepage 'http://www.open-mpi.org/projects/hwloc/'
|
2013-01-03 21:59:25 +00:00
|
|
|
url 'http://www.open-mpi.org/software/hwloc/v1.6/downloads/hwloc-1.6.tar.gz'
|
|
|
|
sha1 'cdf855648c02b24ed3f70df6423470830a4cf911'
|
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
|