aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDave Goodell2012-05-17 18:14:56 -0500
committerAdam Vandenberg2012-06-28 21:14:40 -0700
commitb7731f4cd17e78c54c32f12ca37676e44672d9e0 (patch)
treea6b34bb1e90b1c385868c245fadb26e6c4bdbd11 /Library/Formula
parentc644dd3bfafb208bde9d5ddb8dcab69cd8e70d0e (diff)
downloadhomebrew-b7731f4cd17e78c54c32f12ca37676e44672d9e0.tar.bz2
hwloc 1.4.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hwloc.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/hwloc.rb b/Library/Formula/hwloc.rb
new file mode 100644
index 000000000..84fccac4d
--- /dev/null
+++ b/Library/Formula/hwloc.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Hwloc < Formula
+ homepage 'http://www.open-mpi.org/projects/hwloc/'
+ url 'http://www.open-mpi.org/software/hwloc/v1.4/downloads/hwloc-1.4.2.tar.gz'
+ sha1 'b33421432071d1de638b16e06ad7eb5b8922a32c'
+
+ 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