aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorkashif2010-05-26 23:57:09 +0200
committerAdam Vandenberg2010-06-01 19:47:20 -0700
commit4743c81628004af9134bab930e4be15335ae671d (patch)
tree1747fcea959a6c5fca2be491f3b9dd5d7fb74a7c /Library/Formula
parent8e16a9287e2b372cc87161e43bc4f0c3fe47567b (diff)
downloadhomebrew-4743c81628004af9134bab930e4be15335ae671d.tar.bz2
Added new formula: metis
METIS is a family of programs for partitioning unstructured graphs and hypergraphs and computing fill-reducing orderings of sparse matrices. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/metis.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/metis.rb b/Library/Formula/metis.rb
new file mode 100644
index 000000000..192af2480
--- /dev/null
+++ b/Library/Formula/metis.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Metis <Formula
+ url 'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.tar.gz'
+ homepage 'http://glaros.dtc.umn.edu/gkhome/views/metis'
+ md5 '0aa546419ff7ef50bd86ce1ec7f727c7'
+
+ def install
+ system "make"
+ bin.install ['pmetis', 'kmetis', 'oemetis', 'onmetis', 'partnmesh',
+ 'partdmesh', 'mesh2nodal', 'mesh2dual', 'graphchk', 'Graphs/mtest']
+ lib.install 'libmetis.a'
+ end
+end