2012-05-17 23:14:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Hwloc < Formula
|
|
|
|
homepage 'http://www.open-mpi.org/projects/hwloc/'
|
2013-09-17 17:11:22 +00:00
|
|
|
url 'http://www.open-mpi.org/software/hwloc/v1.7/downloads/hwloc-1.7.2.tar.gz'
|
|
|
|
sha1 '687555653fd3529ae2045e77072ee2a641416fda'
|
2012-05-17 23:14:56 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2013-08-06 17:55:40 +00:00
|
|
|
depends_on 'cairo' => :optional
|
2012-05-17 23:14:56 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|