2010-05-26 21:57:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Metis < Formula
|
2011-08-05 05:57:40 +00:00
|
|
|
url 'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/metis-4.0.3.tar.gz'
|
2010-05-26 21:57:09 +00:00
|
|
|
homepage 'http://glaros.dtc.umn.edu/gkhome/views/metis'
|
2011-03-29 17:37:45 +00:00
|
|
|
md5 'd3848b454532ef18dc83e4fb160d1e10'
|
2010-05-26 21:57:09 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
2011-03-22 00:30:10 +00:00
|
|
|
bin.install %w(pmetis kmetis oemetis onmetis partnmesh partdmesh mesh2nodal mesh2dual graphchk Graphs/mtest)
|
2010-05-26 21:57:09 +00:00
|
|
|
lib.install 'libmetis.a'
|
2011-03-22 00:30:10 +00:00
|
|
|
include.install Dir['Lib/*.h']
|
2010-05-26 21:57:09 +00:00
|
|
|
end
|
|
|
|
end
|