blob: 9ed63cf5561c38d02358151dcb2000c063c35919 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright 2013-2021 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 Dos2unix(MakefilePackage):
"""DOS/Mac to Unix and vice versa text file format converter."""
homepage = "https://waterlan.home.xs4all.nl/dos2unix.html"
url = "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.3.4.tar.gz"
version('7.3.4', sha256='8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5')
depends_on('gettext', type='build')
def install(self, spec, prefix):
make('prefix={0}'.format(prefix), 'install')
|