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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Sep 8 17:50:31 2009 UTC (5 years ago) by vapier
Branch: MAIN
Changes since 1.11: +2 -2 lines
allow xz-utils and lzma-utils #279871
(Portage version: 2.2_rc40/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.ebuild,v 1.11 2009/03/17 10:17:02 armin76 Exp $
4
5 inherit flag-o-matic
6
7 DESCRIPTION="The GNU info program and utilities"
8 HOMEPAGE="http://www.gnu.org/software/texinfo/"
9 SRC_URI="mirror://gnu/${PN}/${P}.tar.lzma"
10
11 LICENSE="GPL-3"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
14 IUSE="nls static"
15
16 RDEPEND="!=app-text/tetex-2*
17 >=sys-libs/ncurses-5.2-r2
18 nls? ( virtual/libintl )"
19 DEPEND="${RDEPEND}
20 || ( app-arch/xz-utils app-arch/lzma-utils )
21 nls? ( sys-devel/gettext )"
22
23 src_compile() {
24 use static && append-ldflags -static
25 econf $(use_enable nls) || die
26
27 # Make cross-compiler safe (#196041)
28 if tc-is-cross-compiler; then
29 emake -C tools/gnulib/lib || die "emake -C tools/gnulib/lib"
30 fi
31
32 emake || die "emake"
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die "install failed"
37
38 dodoc AUTHORS ChangeLog INTRODUCTION NEWS README TODO
39 newdoc info/README README.info
40 newdoc makeinfo/README README.makeinfo
41
42 rm -f "${D}"/usr/lib/charset.alias #195148
43 }

  ViewVC Help
Powered by ViewVC 1.1.20