blob: 48e5798af31ce8d6b4b0255383b770566c21a4ef (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/hd2u/hd2u-1.0.0.ebuild,v 1.11 2011/01/05 18:12:00 jlec Exp $
inherit eutils
DESCRIPTION="Dos2Unix like text file converter"
HOMEPAGE="http://www.megaloman.com/~hany/software/hd2u/"
SRC_URI="http://www.megaloman.com/~hany/_data/hd2u/${P}.tgz"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND="
dev-libs/popt"
RDEPEND="${DEPEND}
!app-text/dos2unix"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-build.patch
}
src_install() {
emake install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO || die
}
|