app-text/dos2unix: delete dos2unix

Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras.
This commit is contained in:
Dongsu Park 2021-08-18 15:47:27 +02:00
parent fd285d1b70
commit cb767ba3a8
4 changed files with 0 additions and 123 deletions

View File

@ -1 +0,0 @@
DIST dos2unix-5.3.1.tar.gz 54967 RMD160 2d97a1e57adcc6f2a2d237615f5963a4d4725fcf SHA1 df924653efb1f97f90c1017cb99d66b5e07ffc13 SHA256 21322fd3ab3a542c36ea72072251610b3075ca2ebca7d1500f8e4810f9e0982f

View File

@ -1,55 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-5.3.1.ebuild,v 1.9 2012/03/03 16:02:04 ranger Exp $
EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/"
SRC_URI="
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE="debug nls"
RDEPEND="
!app-text/hd2u
!app-text/unix2dos
virtual/libintl"
DEPEND="
${RDEPEND}
dev-lang/perl"
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.3.1-fix_debug_build.patch
sed \
-e '/^LDFLAGS/s|=|+=|' \
-e '/^CC/s|=|?=|' \
-e '/CFLAGS_OS \+=/d' \
-e '/LDFLAGS_EXTRA \+=/d' \
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
-i "${S}"/Makefile || die
tc-export CC
use debug && sed "/DEBUG/s:0:1:g" -i Makefile
}
lintl() {
# same logic as from virtual/libintl
use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
}
src_compile() {
emake prefix="${EPREFIX}/usr" \
$(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=")
}
src_install() {
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
$(use nls || echo "ENABLE_NLS=") install
}

View File

@ -1,21 +0,0 @@
--- dos2unix-5.2/Makefile
+++ dos2unix-5.2/Makefile
@@ -77,7 +77,7 @@
MOFILES = $(DOS2UNIX_MOFILES) $(UNIX2DOS_MOFILES)
endif
-DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).pdf $(PACKAGE).htm
+DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).htm
INSTALL_OBJS_DOC = README.txt NEWS.txt ChangeLog.txt COPYING.txt TODO.txt BUGS.txt $(DOCFILES)
#PODFILES = man/man1/dos2unix.pod $(wildcard man/*/man1/dos2unix.pod)
@@ -246,9 +246,6 @@
%.ps : man/man1/%.1
groff -man $< -T ps > $@
-%.pdf: %.ps
- ps2pdf $< $@
-
%.htm : man/man1/%.pod
pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/MAC to UNIX and vice versa text file format converter" $< > $@

View File

@ -1,46 +0,0 @@
--- dos2unix-5.3.1/dos2unix.c
+++ dos2unix-5.3.1/dos2unix.c
@@ -60,8 +60,6 @@
*/
-#define VER_AUTHOR "Erwin Waterlander"
-
/* #define DEBUG 1 */
#include "common.h"
--- dos2unix-5.3.1/Makefile
+++ dos2unix-5.3.1/Makefile
@@ -194,9 +194,14 @@
EXTRA_CFLAGS = -DVER_REVISION=\"$(DOS2UNIX_VERSION)\" \
-DVER_DATE=\"$(DOS2UNIX_DATE)\" \
+ -DVER_AUTHOR=\"$(DOS2UNIX_AUTHOR)\" \
-DDEBUG=$(DEBUG) \
$(CFLAGS_OS)
+ifeq ($(DEBUG), 1)
+ EXTRA_CFLAGS += -g
+endif
+
ifdef STATIC
EXTRA_CFLAGS += -static
endif
--- dos2unix-5.3.1/unix2dos.c
+++ dos2unix-5.3.1/unix2dos.c
@@ -50,8 +50,6 @@
*/
-#define VER_AUTHOR "Erwin Waterlander"
-
/* #define DEBUG 1 */
#include "common.h"
--- dos2unix-5.3.1/version.mk
+++ dos2unix-5.3.1/version.mk
@@ -1,3 +1,4 @@
DOS2UNIX_VERSION = 5.3.1
DOS2UNIX_VERSION_SHORT = 531
DOS2UNIX_DATE = 2011-08-09
+DOS2UNIX_AUTHOR = 'Erwin Waterlander'