You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/unrtf/unrtf-0.19.9.ebuild

31 lines
721 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.19.9.ebuild,v 1.2 2009/09/23 16:41:58 patrick Exp $
inherit eutils
DESCRIPTION="Converts RTF files to various formats"
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
#SRC_URI="mirror://gentoo/${P}.tar.gz"
MY_P="${P/-/_}"
SRC_URI="http://www.gnu.org/software/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 ~x86 ~sparc"
IUSE=""
DEPEND=""
S="${WORKDIR}/${MY_P}"
src_compile() {
emake CFLAGS="${CFLAGS}" || die
}
src_install() {
dobin unrtf || die
doman unrtf.1
dohtml doc/unrtf.html
dodoc CHANGES README TODO
}