pkg:setup ENV.deparallelize cp "MAKE_INC/make.mac-x", "./make.inc" args = ["SuperLUroot=#{buildpath}", "SUPERLULIB=$(SuperLUroot)/lib/libsuperlu.a", "CC=#{ENV.cc}", "BLASLIB=-L#{Formula["veclibfort"].opt_lib} -lvecLibFort"] make lib *args lib.install Dir["lib/*"] (include/"superlu").install Dir["SRC/*.h"] doc.install Dir["Doc/*"] pkgshare.install "EXAMPLE/dlinsol.c" pkgshare.install "EXAMPLE/g20.rua"