diff options
Diffstat (limited to 'sys-libs/glibc/glibc-2.2.2.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.2.2.ebuild | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/sys-libs/glibc/glibc-2.2.2.ebuild b/sys-libs/glibc/glibc-2.2.2.ebuild deleted file mode 100644 index f7a10779e545..000000000000 --- a/sys-libs/glibc/glibc-2.2.2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.2.ebuild,v 1.1 2001/02/17 02:43:51 achim Exp $ - -A="$P.tar.gz glibc-linuxthreads-${PV}.tar.gz" -S=${WORKDIR}/${P} -DESCRIPTION="GNU libc6 (also called glibc2) C library" -SRC_URI="ftp://sourceware.cygnus.com/pub/glibc/releases/glibc-${PV}.tar.gz - ftp://sourceware.cygnus.com/pub/glibc/releases/glibc-linuxthreads-${PV}.tar.gz - ftp://ftp.unina.it/pub/Unix/cygnus/glibc/releases/glibc-${PV}.tar.gz - ftp://ftp.unina.it/pub/Unix/cygnus/glibc/releases/glibc-linuxthreads-${PV}.tar.gz - ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.gz - ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-${PV}.tar.gz" -HOMEPAGE="http://www.gnu.org/software/libc/libc.html" - -DEPEND="sys-devel/perl - sys-devel/gettext" - -RDEPEND="$DEPEND" - -PROVIDE="virtual/glibc" - -src_unpack() { - - unpack glibc-${PV}.tar.gz - cd ${S} - unpack glibc-linuxthreads-${PV}.tar.gz - cd io - patch -p0 < ${FILESDIR}/glibc-2.2.2-test-lfs-timeout.patch - -} - -src_compile() { - - rm -rf buildhere - mkdir buildhere - cd buildhere - try ../configure --host=${CHOST} --without-cvs \ - --enable-add-ons=linuxthreads \ - --disable-profile --prefix=/usr \ - --mandir=/usr/share/man --infodir=/usr/share/info \ - --libexecdir=/usr/lib/misc \ - --enable-kernel=2.4.0 - try make - make check -} - - -src_install() { - - rm -rf ${D} - mkdir ${D} - dodir /etc/rc.d/init.d - export LC_ALL=C - try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} install -C buildhere - try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} info -C buildhere - try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} localedata/install-locales -C buildhere - try make PARALELLMFLAGS=${MAKEOPTS} -C linuxthreads/man - - cd ${S}/linuxthreads/man - for i in *.3thr - do - newman $i ${i%.3thr}.3 - done - - cd ${S} - chmod 755 ${D}/usr/lib/misc/pt_chown - install -m 644 nscd/nscd.conf ${D}/etc - install -m 755 ${FILESDIR}/nscd ${D}/etc/rc.d/init.d/nscd - rm ${D}/lib/ld-linux.so.2 - rm ${D}/lib/libc.so.6 - - dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE NEWS NOTES \ - PROJECTS README* -} - -pkg_preinst() -{ - echo "Saving ld-linux and libc6" - - /bin/cp ${ROOT}lib/ld-linux.so.2 ${ROOT}tmp - /sbin/sln ${ROOT}tmp/ld-linux.so.2 ${ROOT}lib/ld-linux.so.2 - /bin/cp ${ROOT}lib/libc.so.6 ${ROOT}tmp - /sbin/sln ${ROOT}tmp/libc.so.6 ${ROOT}lib/libc.so.6 - - if [ -e ${ROOT}etc/localtime ] - then - #keeping old timezone - /bin/rm ${D}/etc/localtime - else - echo "Please remember to set your timezone using the zic command." - fi -} - -pkg_postinst() -{ - echo "Setting ld-linux and libc6" - - /sbin/sln ${ROOT}lib/ld-2.2.so ${ROOT}lib/ld-linux.so.2 - /sbin/sln ${ROOT}lib/libc-2.2.so ${ROOT}lib/libc.so.6 - /bin/rm ${ROOT}tmp/ld-linux.so.2 - /bin/rm ${ROOT}tmp/libc.so.6 - /sbin/ldconfig -r ${ROOT} - -} - - |