/[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.1 - (show annotations) (download)
Thu May 24 02:02:37 2012 UTC (2 years, 7 months ago) by flameeyes
Branch: MAIN
Add a patch to fix docbook output; will be sent upstream as soon as I have the form signed.

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.13-r1.ebuild,v 1.5 2012/05/23 23:05:28 vapier Exp $
4
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 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
16 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 touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589
30 epatch "${FILESDIR}"/${P}-accentenc-test.patch
31 # waiting to be sent upstream for my copyright assignment form to be
32 # ready - Flameeyes
33 epatch "${FILESDIR}"/${P}-docbook.patch
34 }
35
36 src_configure() {
37 use static && append-ldflags -static
38 econf $(use_enable nls)
39 }
40
41 src_compile() {
42 # Make cross-compiler safe (#196041)
43 if tc-is-cross-compiler ; then
44 emake -C tools/gnulib/lib || die
45 fi
46
47 emake || die
48 }
49
50 src_install() {
51 emake DESTDIR="${D}" install || die
52
53 dodoc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
54 newdoc info/README README.info
55 newdoc makeinfo/README README.makeinfo
56 }

  ViewVC Help
Powered by ViewVC 1.1.20