2010-05-26 21:57:09 +00:00
|
|
|
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"
|
2010-04-07 05:58:35 +00:00
|
|
|
bin.install ['pmetis', 'kmetis', 'oemetis', 'onmetis', 'partnmesh',
|
2010-05-26 21:57:09 +00:00
|
|
|
'partdmesh', 'mesh2nodal', 'mesh2dual', 'graphchk', 'Graphs/mtest']
|
|
|
|
lib.install 'libmetis.a'
|
2010-05-26 23:09:04 +00:00
|
|
|
include.install ['Lib/metis.h', 'Lib/defs.h', 'Lib/macros.h', 'Lib/rename.h',
|
|
|
|
'Lib/proto.h', 'Lib/struct.h']
|
2010-05-26 21:57:09 +00:00
|
|
|
end
|
|
|
|
end
|