# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Convert text files with DOS or Mac line breaks to \
Unix line breaks and vice versa
long_description This is an update of Benjamin Lin's \
implementations of dos2unix and unix2dos. Benjamin \
Lin's implementations of dos2unix and unix2dos \
were distributed via SunSITE.unc.edu (later \
MetaLab.unc.edu, now ibiblio) and became part of \
several Linux distributions such as RedHat, Suse, \
Gentoo, and others. This update includes all \
RedHat patches and fixes several other problems. \
Internationalization has been added and ports to \
DOS, Windows, Cygwin and OS/2 Warp have been made.
homepage http://www.xs4all.nl/~waterlan/dos2unix.html
master_sites sourceforge:project/dos2unix/dos2unix/${version} \
http://www.xs4all.nl/~waterlan/dos2unix/
checksums rmd160 5714e652b3549ed3cedd9237c68bda95ff9e2962 \
sha256 bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a
configure.cflags-append ${configure.cppflags} [get_canonical_archflags cc]
configure.ldflags-append -lintl [get_canonical_archflags ld]
build.args prefix=${prefix} \
CFLAGS_OS="[join ${configure.cflags}]" \
LDFLAGS_EXTRA="[join ${configure.ldflags}]"
destroot.args prefix=${prefix} \
DOCDIR=${destroot}${prefix}/share/doc/${name}