alpha-quadrant/app-text/unrtf/unrtf-0.19.9.ebuild

31 lines
568 B
Bash
Raw Normal View History

2006-04-05 12:25:29 +02:00
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MY_P=${P/-/_}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Converts RTF files to various formats"
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 ~x86 ~sparc"
IUSE=""
DEPEND=""
src_compile() {
emake CFLAGS="${CFLAGS}" || die
}
src_install() {
dobin unrtf || die
doman unrtf.1
dohtml doc/unrtf.html
dodoc CHANGES README TODO
}