dos2unix-7.4.0.eb 798 Bytes
Newer Older
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 26 27
# IT4Innovations 2018
easyblock = 'ConfigureMake'

name = 'dos2unix'
version = '7.4.0'

homepage = 'https://sourceforge.net/projects/dos2unix'
description = "dos2unix includes utilities to convert text files with DOS or MAC line breaks to Unix line breaks and vice versa. It also includes conversion of UTF-16 to UTF-8."

toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'optarch': True, 'pic': True}

source_urls = ['https://datapacket.dl.sourceforge.net/project/dos2unix/dos2unix/%(version)s/']
sources = ['dos2unix-%(version)s.tar.gz']

skipsteps = ['configure']

dependencies = [ ('gettext', '0.19.8.1', '', True) ]

installopts = "prefix=%(installdir)s"

sanity_check_paths = {
    'files': ['bin/dos2unix', 'bin/unix2dos'],
    'dirs': ['bin', 'share'],
}

moduleclass = 'tools'