Massive conversion from Package to CMakePackage (#4975)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class Graphlib(Package):
|
||||
class Graphlib(CMakePackage):
|
||||
"""Library to create, manipulate, and export graphs Graphlib."""
|
||||
homepage = "https://github.com/LLNL/graphlib"
|
||||
url = "https://github.com/LLNL/graphlib/archive/v2.0.0.tar.gz"
|
||||
@@ -33,10 +33,4 @@ class Graphlib(Package):
|
||||
version('2.0.0', '43c6df84f1d38ba5a5dce0ae19371a70')
|
||||
version('3.0.0', '625d199f97ab1b84cbc8daabcaee5e2a')
|
||||
|
||||
depends_on('cmake', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
cmake(".", *std_cmake_args)
|
||||
|
||||
make()
|
||||
make("install")
|
||||
depends_on('cmake@2.6:', type='build')
|
||||
|
Reference in New Issue
Block a user