diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-08-03 09:43:19 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-08-03 09:43:19 +0000 |
commit | 7d2c8e629329a1a52a9db350f6234a8b5bce94c0 (patch) | |
tree | f911c75f14c0ef2a6e4060326cef8610322d23b9 /sys-devel | |
parent | Updated depends to use a version of smpeg that works with gcc-3.1 (diff) | |
download | gentoo-2-7d2c8e629329a1a52a9db350f6234a8b5bce94c0.tar.gz gentoo-2-7d2c8e629329a1a52a9db350f6234a8b5bce94c0.tar.bz2 gentoo-2-7d2c8e629329a1a52a9db350f6234a8b5bce94c0.zip |
remove conflicting c header files
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gettext/ChangeLog | 11 | ||||
-rw-r--r-- | sys-devel/gettext/files/digest-gettext-0.11.3-r1 | 1 | ||||
-rw-r--r-- | sys-devel/gettext/gettext-0.11.3-r1.ebuild | 60 |
3 files changed, 70 insertions, 2 deletions
diff --git a/sys-devel/gettext/ChangeLog b/sys-devel/gettext/ChangeLog index b6bded5301f6..b56f3f07124f 100644 --- a/sys-devel/gettext/ChangeLog +++ b/sys-devel/gettext/ChangeLog @@ -1,10 +1,17 @@ # 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.5 2002/07/22 00:02:12 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.6 2002/08/03 09:43:19 azarah Exp $ + +*gettext-0.11.3-r1 (3 Aug 2002) + + 3 Aug 2002; Martin Schlemmer <azarah@gentoo.org> gettext-0.11.3-r1.ebuild : + + Remove the installed header files, as these overwrite those that comes with + glibc, and then breaks things. *gettext-0.11.3 (21 Jul 2002) - 21 Jul 2002; Seemant Kulleen <seemant@gentoo.org> gettext-0.11.3.ebuild + 21 Jul 2002; Seemant Kulleen <seemant@gentoo.org> gettext-0.11.3.ebuild : files/digest-gettext-0.11.3 : Version bump. diff --git a/sys-devel/gettext/files/digest-gettext-0.11.3-r1 b/sys-devel/gettext/files/digest-gettext-0.11.3-r1 new file mode 100644 index 000000000000..93ce46182b68 --- /dev/null +++ b/sys-devel/gettext/files/digest-gettext-0.11.3-r1 @@ -0,0 +1 @@ +MD5 a870ae31fc1a68d4ea7d320fd6533364 gettext-0.11.3.tar.gz 3691999 diff --git a/sys-devel/gettext/gettext-0.11.3-r1.ebuild b/sys-devel/gettext/gettext-0.11.3-r1.ebuild new file mode 100644 index 000000000000..301226f16a92 --- /dev/null +++ b/sys-devel/gettext/gettext-0.11.3-r1.ebuild @@ -0,0 +1,60 @@ +# 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.3-r1.ebuild,v 1.1 2002/08/03 09:43:19 azarah 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" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc" + +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 \ + || die + + exeopts -m0755 + exeinto /usr/bin + doexe misc/gettextize + + #glibc includes gettext; this isn't needed anymore + rm -rf ${D}/usr/{include,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 + + dodoc AUTHORS BUGS COPYING ChangeLog DISCLAIM NEWS README* THANKS TODO +} + |