1 DESCRIPTION = "Tofrodos is a text file conversion utility that converts ASCII files between the MSDOS and unix format"
4 SRC_URI = "http://tofrodos.sourceforge.net/download/tofrodos-${PV}.tar.gz \
5 file://cross.patch;patch=1;pnum=2"
7 S = "${WORKDIR}/${PN}/src"
10 install -d ${D}/usr/man/man1
11 install -d ${D}/${bindir}
12 oe_runmake DESTDIR=${D} install
16 FILES_${PN} = "${bindir}/fromdos"
18 pkg_postinst_${PN} () {
20 for app in dos2unix unix2dos todos ; do
21 update-alternatives --install ${bindir}/$app $app fromdos 100
27 for app in dos2unix unix2dos todos ; do
28 update-alternatives --remove $app fromdos