diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-05 02:38:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-05 02:38:31 +0000 |
commit | 2ce36f5578546c92d4bf999be1cc6062374e87e3 (patch) | |
tree | 4685e54d53a8491df64cad77cb238f24cbbe5576 /app-text/dos2unix/dos2unix-3.1-r1.ebuild | |
parent | Minor workaround (diff) | |
download | gentoo-2-2ce36f5578546c92d4bf999be1cc6062374e87e3.tar.gz gentoo-2-2ce36f5578546c92d4bf999be1cc6062374e87e3.tar.bz2 gentoo-2-2ce36f5578546c92d4bf999be1cc6062374e87e3.zip |
Clean up patches, grab some more from Fedora, and cleanup the ebuild.
Diffstat (limited to 'app-text/dos2unix/dos2unix-3.1-r1.ebuild')
-rw-r--r-- | app-text/dos2unix/dos2unix-3.1-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-text/dos2unix/dos2unix-3.1-r1.ebuild b/app-text/dos2unix/dos2unix-3.1-r1.ebuild new file mode 100644 index 000000000000..068db379e1e6 --- /dev/null +++ b/app-text/dos2unix/dos2unix-3.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-3.1-r1.ebuild,v 1.1 2005/11/05 02:38:31 vapier Exp $ + +inherit eutils + +DESCRIPTION="Dos2unix converts DOS or MAC text files to UNIX format" +HOMEPAGE="" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="!app-text/hd2u" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}.patch + epatch "${FILESDIR}"/${P}-segfault.patch + epatch "${FILESDIR}"/${P}-includes.patch + epatch "${FILESDIR}"/${P}-preserve-file-modes.patch + epatch "${FILESDIR}"/${P}-manpage-update.patch + epatch "${FILESDIR}"/${P}-safeconv.patch + make -s clean || die +} + +src_install() { + dobin dos2unix || die + dosym dos2unix /usr/bin/mac2unix + + doman dos2unix.1 + dosym dos2unix.1 /usr/share/man/man1/mac2unix.1 +} |