unrtf-0.21.9.ebuild 735 B

1234567891011121314151617181920212223242526
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools eutils
  5. DESCRIPTION="Converts RTF files to various formats"
  6. HOMEPAGE="https://www.gnu.org/software/unrtf/unrtf.html"
  7. SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
  8. LICENSE="GPL-3"
  9. SLOT="0"
  10. KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
  11. IUSE=""
  12. src_prepare() {
  13. # eautoreconf fails when automake-1.14* is installed. Please check with
  14. # next version bump if we still need this workaround.
  15. rm aclocal.m4 || die
  16. epatch "${FILESDIR}"/unrtf-0.21.8-automake-fix.patch
  17. epatch "${FILESDIR}"/${PN}-0.21.8-iconv-detection.patch
  18. eautoreconf
  19. }