Add new package: smartmontools (#18926)
This commit is contained in:
		
							
								
								
									
										19
									
								
								var/spack/repos/builtin/packages/smartmontools/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								var/spack/repos/builtin/packages/smartmontools/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other | ||||
| # Spack Project Developers. See the top-level COPYRIGHT file for details. | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
| 
 | ||||
| from spack import * | ||||
| 
 | ||||
| 
 | ||||
| class Smartmontools(AutotoolsPackage): | ||||
|     """S.M.A.R.T. utility toolset.""" | ||||
| 
 | ||||
|     homepage = "http://smartmontools.sourceforge.net" | ||||
|     url      = "https://nchc.dl.sourceforge.net/project/smartmontools/smartmontools/6.6/smartmontools-6.6.tar.gz" | ||||
| 
 | ||||
|     version('6.6', sha256='51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054') | ||||
| 
 | ||||
|     def setup_run_environment(self, env): | ||||
|         env.prepend_path('PATH', self.prefix.sbin) | ||||
|         env.prepend_path('LD_LIBRARY_PATH', self.prefix.usr.lib) | ||||
		Reference in New Issue
	
	Block a user
	 darmac
					darmac