31 lines
568 B
Bash
31 lines
568 B
Bash
|
# 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
|
||
|
}
|