openblas: derives from MakefilePackage (#2488)

* MakefilePackage: changed build_args and install_args for consistency with #2464
openblas: derives from MakefilePackage

* MakefilePackage: changed default edit behavior
This commit is contained in:
Massimiliano Culpo
2016-12-15 19:15:52 +01:00
committed by Todd Gamblin
parent f9ca5b9f27
commit 87c9b01033
3 changed files with 71 additions and 57 deletions

View File

@@ -49,5 +49,6 @@ def edit(self, spec, prefix):
if sys.platform == 'darwin':
filter_file(r'^INSTALL=.*', 'INSTALL=install', makefile)
def install_args(self):
return ['prefix={0}'.format(prefix)]
@property
def install_targets(self):
return ['install', 'prefix={0}'.format(self.prefix)]