migrate to git-2 eclass, fix lapack support

Package-Manager: portage-2.1.11.38