diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2002-11-24 23:40:49 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2002-11-24 23:40:49 +0000 |
commit | b36e03dbe31c29b4d34ba4059ec8255ee0a9e68d (patch) | |
tree | 1751b08316b4f1c00b9a117f49b3ef1e17f52109 /sys-devel | |
parent | new version (diff) | |
download | gentoo-2-b36e03dbe31c29b4d34ba4059ec8255ee0a9e68d.tar.gz gentoo-2-b36e03dbe31c29b4d34ba4059ec8255ee0a9e68d.tar.bz2 gentoo-2-b36e03dbe31c29b4d34ba4059ec8255ee0a9e68d.zip |
new revision
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gettext/ChangeLog | 10 | ||||
-rw-r--r-- | sys-devel/gettext/files/digest-gettext-0.11.5-r1 | 1 | ||||
-rw-r--r-- | sys-devel/gettext/gettext-0.11.5-r1.ebuild | 62 |
3 files changed, 71 insertions, 2 deletions
diff --git a/sys-devel/gettext/ChangeLog b/sys-devel/gettext/ChangeLog index efe2bbcb0e61..5a33fa4785c8 100644 --- a/sys-devel/gettext/ChangeLog +++ b/sys-devel/gettext/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sys-devel/gettext # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.8 2002/09/11 17:57:20 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.9 2002/11/24 23:40:49 leonardop Exp $ +*gettext-0.11.5-r1 (24 Nov 2002) + + 24 Nov 2002; L. Boshell <leonardop@gentoo.org> : Don't delete the entire + ${D}/usr/lib directory, only the files that could be problematic (i.e. + *.{a,so}. Added IUSE var. Use mirror://gnu for SRC_URI. + 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org> gettext-0.11.1.ebuild : Make sure that no headers is installed. Seems like this happened in @@ -9,7 +15,7 @@ *gettext-0.11.5 (16 Aug 2002) - 16 Aug 2002; Seemant Kulleen <seemant2gentoo.org> gettext-0.11.5.ebuild + 16 Aug 2002; Seemant Kulleen <seemant@gentoo.org> gettext-0.11.5.ebuild files/digest-gettext-0.11.5 : Version bump. diff --git a/sys-devel/gettext/files/digest-gettext-0.11.5-r1 b/sys-devel/gettext/files/digest-gettext-0.11.5-r1 new file mode 100644 index 000000000000..726463f16572 --- /dev/null +++ b/sys-devel/gettext/files/digest-gettext-0.11.5-r1 @@ -0,0 +1 @@ +MD5 b7c1fe238dc8087da035b071c3b425b4 gettext-0.11.5.tar.gz 3724099 diff --git a/sys-devel/gettext/gettext-0.11.5-r1.ebuild b/sys-devel/gettext/gettext-0.11.5-r1.ebuild new file mode 100644 index 000000000000..b43451555a77 --- /dev/null +++ b/sys-devel/gettext/gettext-0.11.5-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.11.5-r1.ebuild,v 1.1 2002/11/24 23:40:49 leonardop Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU locale utilities" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" +IUSE="nls" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64" + +src_unpack() { + unpack ${A} + + cd ${S}/misc + cp Makefile.in Makefile.in.orig + #This fix stops gettext from invoking emacs to install the po mode + sed -e '185,187d' Makefile.in.orig > Makefile.in || die + #Eventually, installation of the po mode should be performed in pkg_postinst() +} + +src_compile() { + local myconf="" + use nls || myconf="--disable-nls" + + econf \ + --with-included-gettext \ + --disable-shared \ + ${myconf} || die + + emake || die +} + +src_install() { + einstall \ + lispdir=${D}/usr/share/emacs/site-lisp \ + docdir=${D}/usr/share/doc/${PF}/html \ + || die + + exeopts -m0755 + exeinto /usr/bin + doexe misc/gettextize + + #glibc includes gettext; this isn't needed anymore + rm -rf ${D}/usr/include + rm -rf ${D}/usr/lib/*.{a,so} + + #again, installed by glibc + rm -rf ${D}/usr/share/locale/locale.alias + + if [ -d ${D}/usr/doc/gettext ] + then + mv ${D}/usr/doc/gettext ${D}/usr/share/doc/${PF}/html + rm -rf ${D}/usr/doc + fi + + dodoc AUTHORS BUGS COPYING ChangeLog DISCLAIM NEWS README* THANKS TODO +} + |