blob: 34467fb6b9f9651c2deededebda5e1e5f23b8822 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2022 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 Dosfstools(AutotoolsPackage):
"""dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel
to create, check and label file systems of the FAT family."""
homepage = "https://github.com/dosfstools/dosfstools"
url = "https://github.com/dosfstools/dosfstools/archive/v4.1.tar.gz"
version('4.1', sha256='8ff9c2dcc01551fe9de8888cb41eb1051fd58bdf1ab3a93d3d88916f0a4ffd1b')
version('4.0', sha256='77975e289e695cb8c984a3c0a15a3bbf3af90be83c26983d43abcde9ec48eea5')
depends_on('automake', type='build')
depends_on('autoconf', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)
|