diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-05-19 18:26:47 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-05-19 18:26:47 +0000 |
commit | 8e20ce16145eca18e8100989c838ec0d81a210b3 (patch) | |
tree | aaa9b6038994911a68087abb5e2caeba20ac3dce /sys-apps | |
parent | add wrapper again (diff) | |
download | gentoo-2-8e20ce16145eca18e8100989c838ec0d81a210b3.tar.gz gentoo-2-8e20ce16145eca18e8100989c838ec0d81a210b3.tar.bz2 gentoo-2-8e20ce16145eca18e8100989c838ec0d81a210b3.zip |
updated texinfo
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/texinfo/ChangeLog | 16 | ||||
-rw-r--r-- | sys-apps/texinfo/files/digest-texinfo-4.2 | 1 | ||||
-rw-r--r-- | sys-apps/texinfo/texinfo-4.2.ebuild | 75 |
3 files changed, 92 insertions, 0 deletions
diff --git a/sys-apps/texinfo/ChangeLog b/sys-apps/texinfo/ChangeLog new file mode 100644 index 000000000000..6c57b53cd9bb --- /dev/null +++ b/sys-apps/texinfo/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for sys-apps/texinfo +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/ChangeLog,v 1.1 2002/05/19 18:26:47 spider Exp $ + + + +*texinfo-4.2 (18 May 2002) + 18 May 2002; Spider <spider@gentoo.org> texinfo-4.2.ebuild : + updated some deps for automake stuff + + +*texinfo-4.0-r3 (18 May 2002) + 18 May 2002; Spider <spider@gentoo.org> texinfo-4.0-r3.ebuild : + revival of the old ebuild. broken + + diff --git a/sys-apps/texinfo/files/digest-texinfo-4.2 b/sys-apps/texinfo/files/digest-texinfo-4.2 new file mode 100644 index 000000000000..c3b196a597a0 --- /dev/null +++ b/sys-apps/texinfo/files/digest-texinfo-4.2 @@ -0,0 +1 @@ +MD5 41a97498d34ddbf245df40a95977be7f texinfo-4.2.tar.gz 1666333 diff --git a/sys-apps/texinfo/texinfo-4.2.ebuild b/sys-apps/texinfo/texinfo-4.2.ebuild new file mode 100644 index 000000000000..d9038710eb09 --- /dev/null +++ b/sys-apps/texinfo/texinfo-4.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: System Team <system@gentoo.org> +# Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.2.ebuild,v 1.1 2002/05/19 18:26:47 spider Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="The GNU info program and utilities" +SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/texinfo/${A} + ftp://ftp.gnu.org/pub/gnu/texinfo/${A}" + +if [ "`use build`" ] ; then + DEPEND="virtual/glibc + >=sys-devel/automake-1.6" +else + DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2-r2 + >=sys-devel/automake-1.6 + nls? ( sys-devel/gettext )" + RDEPEND="virtual/glibc + >=sys-libs/ncurses-5.2-r2" +fi + +src_unpack() { + unpack ${A} + if [ "`use build`" ] ; then + cd ${S} + patch -p0 < ${FILESDIR}/${PF}-no-ncurses-gentoo.diff + touch * + fi +} + +src_compile() { + export WANT_AUTOMAKE_1_6=1 + local myconf + if [ -z "`use nls`" ] || [ "`use build`" ] ; then + myconf="--disable-nls" + fi + try ./configure --host=${CHOST} --prefix=/usr ${myconf} \ + --mandir=/usr/share/man --infodir=/usr/share/info + try make ${MAKEOPTS} +} + +src_install() { + + if [ "`use build`" ] ; then + dobin makeinfo/makeinfo util/{install-info,texi2dvi,texindex} + else + try make DESTDIR=${D} infodir=${D}/usr/share/info install + exeinto /usr/sbin + doexe ${FILESDIR}/mkinfodir + + cd ${D}/usr/share/info + mv texinfo texinfo.info + for i in texinfo-* + do + mv ${i} texinfo.info-${i#texinfo-*} + done + + cd ${S} + + dodoc AUTHORS ChangeLog COPYING INTRODUCTION NEWS README TODO + docinto info + dodoc info/README + docinto makeinfo + dodoc makeinfo/README + fi +} + + + + + + |