7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
549 B
Ruby
16 lines
549 B
Ruby
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'
|
|
include.install ['Lib/metis.h', 'Lib/defs.h', 'Lib/macros.h', 'Lib/rename.h',
|
|
'Lib/proto.h', 'Lib/struct.h']
|
|
end
|
|
end
|