blob: c69cf4c04b81553fc44f5e1467ddada47d3e4b34 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/unix2dos/unix2dos-2.2.ebuild,v 1.4 2003/02/15 07:22:51 gerk Exp $
DESCRIPTION="unix2dos - UNIX to DOS text file format converter"
HOMEPAGE=""
SRC_URI="mirror://gentoo/${P}.src.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="x86 ppc"
DEPEND=""
RDEPEND=""
S=${WORKDIR}
src_unpack() {
unpack ${A}
patch -p1 < ${FILESDIR}/${PN}-mkstemp.patch || die
patch -p1 < ${FILESDIR}/${P}-segfault.patch || die
patch -p1 < ${FILESDIR}/${P}-manpage.patch || die
}
src_compile() {
gcc ${CFLAGS} -o unix2dos unix2dos.c || die
}
src_install() {
dobin unix2dos
doman unix2dos.1
}
|