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.21.9.ebuild

27 lines
844 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.9.ebuild,v 1.6 2015/03/25 16:06:39 ago Exp $
EAPI=5
inherit autotools eutils
DESCRIPTION="Converts RTF files to various formats"
HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
IUSE=""
src_prepare() {
# eautoreconf fails when automake-1.14* is installed. Please check with
# next version bump if we still need this workaround.
rm aclocal.m4 || die
epatch "${FILESDIR}"/unrtf-0.21.8-automake-fix.patch
epatch "${FILESDIR}"/${PN}-0.21.8-iconv-detection.patch
eautoreconf
}