summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dosfstools/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dosfstools/package.py b/var/spack/repos/builtin/packages/dosfstools/package.py
new file mode 100644
index 0000000000..5d079983fd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dosfstools/package.py
@@ -0,0 +1,25 @@
+# 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 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)