Massive conversion from Package to CMakePackage (#4975)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class Sdl2(Package):
|
||||
class Sdl2(CMakePackage):
|
||||
"""Simple DirectMedia Layer is a cross-platform development library designed
|
||||
to provide low level access to audio, keyboard, mouse, joystick, and
|
||||
graphics hardware via OpenGL and Direct3D."""
|
||||
@@ -35,11 +35,4 @@ class Sdl2(Package):
|
||||
|
||||
version('2.0.5', 'd4055424d556b4a908aa76fad63abd3c')
|
||||
|
||||
depends_on('cmake', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
with working_dir('spack-build', create=True):
|
||||
cmake('..', *std_cmake_args)
|
||||
|
||||
make()
|
||||
make('install')
|
||||
depends_on('cmake@2.8.5:', type='build')
|
||||
|
Reference in New Issue
Block a user