/[gentoo-x86]/app-text/unix2dos/unix2dos-2.2-r1.ebuild
Gentoo

Contents of /app-text/unix2dos/unix2dos-2.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Jan 5 09:11:03 2011 UTC (3 years, 8 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +14 -11 lines
Some Clean up

(Portage version: 2.2.0_alpha12/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/unix2dos/unix2dos-2.2-r1.ebuild,v 1.11 2010/03/20 16:12:11 jlec Exp $
4
5 EAPI="3"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="UNIX to DOS text file format converter"
10 HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html"
11 SRC_URI="mirror://gentoo/${P}.src.tar.gz"
12
13 LICENSE="BSD-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
16 IUSE=""
17
18 RDEPEND="!>=app-text/dos2unix-5"
19 DEPEND=""
20
21 S="${WORKDIR}"
22
23 src_prepare() {
24 epatch \
25 "${FILESDIR}"/${PN}-mkstemp.patch \
26 "${FILESDIR}"/${P}-segfault.patch \
27 "${FILESDIR}"/${P}-manpage.patch \
28 "${FILESDIR}"/${P}-workaround-rename-EXDEV.patch \
29 "${FILESDIR}"/${P}-headers.patch
30 }
31
32 src_compile() {
33 emake CC="$(tc-getCC)" unix2dos || die
34 }
35
36 src_install() {
37 dobin unix2dos || die
38 doman unix2dos.1 || die
39 }

  ViewVC Help
Powered by ViewVC 1.1.20