blob: b6159db0930bf5d5d9e200c607f1a6cf369fca73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-3.1.ebuild,v 1.8 2004/02/29 18:10:25 aliz Exp $
DESCRIPTION="Dos2unix converts DOS or MAC text files to UNIX format"
HOMEPAGE=""
SRC_URI="http://www2.tripleg.net.au/dos2unix.builder/${P}.tar.bz2"
LICENSE="freedist"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha ~amd64"
DEPEND=""
RDEPEND="!app-text/hd2u"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}.patch
epatch ${FILESDIR}/${P}-segfault.patch
}
src_compile() {
make clean || die
make CFLAGS="${CFLAGS}" || die
}
src_install() {
dobin dos2unix
dosym dos2unix /usr/bin/mac2unix
doman dos2unix.1
dosym dos2unix.1.gz /usr/share/man/man1/mac2unix.1.gz
}
|