summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-16 14:30:30 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-16 14:30:30 +0000
commit5f445419af27adf7f34463c921d70856ceb51bfc (patch)
tree4d4a055fa6f9b9bda9046c755065f44ebe1328c7 /sys-devel/gettext
parentQuick version bump (diff)
downloadgentoo-2-5f445419af27adf7f34463c921d70856ceb51bfc.tar.gz
gentoo-2-5f445419af27adf7f34463c921d70856ceb51bfc.tar.bz2
gentoo-2-5f445419af27adf7f34463c921d70856ceb51bfc.zip
add missing libraries into system that glibc did not install
Diffstat (limited to 'sys-devel/gettext')
-rw-r--r--sys-devel/gettext/ChangeLog11
-rw-r--r--sys-devel/gettext/files/digest-gettext-0.11.1-r11
-rw-r--r--sys-devel/gettext/gettext-0.11.1-r1.ebuild63
3 files changed, 74 insertions, 1 deletions
diff --git a/sys-devel/gettext/ChangeLog b/sys-devel/gettext/ChangeLog
index f62fba7739de..7f6372a7181f 100644
--- a/sys-devel/gettext/ChangeLog
+++ b/sys-devel/gettext/ChangeLog
@@ -1,6 +1,15 @@
# 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.2 2002/03/27 11:35:32 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.3 2002/04/16 14:30:30 seemant Exp $
+
+*gettext-0.11.1-r1 (16 Apr 2002)
+
+ 16 Apr 2002; Seemant Kulleen <seemant@gentoo.org> gettext-0.11.1-r1.ebuild
+ files/digest-gettext-0.11.1-r1 :
+
+ Since glibc does not seem to be providing the header files and such, I have
+ enabled gettext to install them instead. Hopefully this solves the
+ intermittent php emerge bug.
*gettext-0.11.1
diff --git a/sys-devel/gettext/files/digest-gettext-0.11.1-r1 b/sys-devel/gettext/files/digest-gettext-0.11.1-r1
new file mode 100644
index 000000000000..f6b1477b6cfa
--- /dev/null
+++ b/sys-devel/gettext/files/digest-gettext-0.11.1-r1
@@ -0,0 +1 @@
+MD5 f826d530cf91e19cacc2a964d3668e99 gettext-0.11.1.tar.gz 3086351
diff --git a/sys-devel/gettext/gettext-0.11.1-r1.ebuild b/sys-devel/gettext/gettext-0.11.1-r1.ebuild
new file mode 100644
index 000000000000..d15dde1e646c
--- /dev/null
+++ b/sys-devel/gettext/gettext-0.11.1-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.11.1-r1.ebuild,v 1.1 2002/04/16 14:30:30 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNU locale utilities"
+SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gettext/${P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html"
+
+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"
+
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-included-gettext \
+ --disable-shared \
+ --host=${CHOST} \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+
+ make \
+ prefix=${D}/usr \
+ infodir=${D}/usr/share/info \
+ mandir=${D}/usr/share/man \
+ lispdir=${D}/usr/share/emacs/site-lisp \
+ install || die
+
+ dodoc AUTHORS BUGS COPYING ChangeLog DISCLAIM NEWS README* THANKS TODO
+
+ #glibc includes gettext; this isn't needed anymore
+ #rm -rf ${D}/usr/lib/*
+
+ #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
+ exeopts -m0755
+ exeinto /usr/bin
+ doexe misc/gettextize
+}