/[gentoo-x86]/sys-apps/texinfo/texinfo-4.13-r2.ebuild
Gentoo

Contents of /sys-apps/texinfo/texinfo-4.13-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (hide annotations) (download)
Sat Jan 18 19:27:30 2014 UTC (4 years, 9 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +3 -3 lines
Add arm64 love.

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 vapier 1.16 # Copyright 1999-2014 Gentoo Foundation
2 flameeyes 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.16 # $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.13-r2.ebuild,v 1.15 2013/09/05 09:55:24 vapier Exp $
4 flameeyes 1.1
5     EAPI="2"
6    
7     inherit flag-o-matic eutils
8    
9     DESCRIPTION="The GNU info program and utilities"
10     HOMEPAGE="http://www.gnu.org/software/texinfo/"
11     SRC_URI="mirror://gnu/${PN}/${P}.tar.lzma"
12    
13     LICENSE="GPL-3"
14     SLOT="0"
15 vapier 1.16 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
16 flameeyes 1.1 IUSE="nls static"
17    
18     RDEPEND="!=app-text/tetex-2*
19     >=sys-libs/ncurses-5.2-r2
20     nls? ( virtual/libintl )"
21     DEPEND="${RDEPEND}
22     app-arch/xz-utils
23     nls? ( sys-devel/gettext )"
24    
25     src_prepare() {
26     epatch "${FILESDIR}"/${P}-xz.patch #269742
27     touch doc/install-info.1 #354589
28     epatch "${FILESDIR}"/${P}-texi2dvi-regexp-range.patch #311885
29     epatch "${FILESDIR}"/${P}-accentenc-test.patch
30     # waiting to be sent upstream for my copyright assignment form to be
31     # ready - Flameeyes
32     epatch "${FILESDIR}"/${P}-docbook.patch
33 ssuominen 1.2 epatch "${FILESDIR}"/${P}-tinfo.patch #457556
34 zmedico 1.10 # timestamps must be newer than configure.ac touched by ${P}-tinfo.patch
35     touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589
36 flameeyes 1.1 }
37    
38     src_configure() {
39     use static && append-ldflags -static
40     econf $(use_enable nls)
41     }
42    
43     src_compile() {
44     # Make cross-compiler safe (#196041)
45     if tc-is-cross-compiler ; then
46     emake -C tools/gnulib/lib || die
47     fi
48    
49     emake || die
50     }
51    
52     src_install() {
53     emake DESTDIR="${D}" install || die
54    
55     dodoc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
56     newdoc info/README README.info
57     newdoc makeinfo/README README.makeinfo
58     }

  ViewVC Help
Powered by ViewVC 1.1.20