diff options
Diffstat (limited to 'app-emulation')
5 files changed, 84 insertions, 0 deletions
diff --git a/app-emulation/emul-linux-ppc-glibc/ChangeLog b/app-emulation/emul-linux-ppc-glibc/ChangeLog new file mode 100644 index 000000000000..d45472f1bfb2 --- /dev/null +++ b/app-emulation/emul-linux-ppc-glibc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-emulation/emul-linux-ppc-glibc +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-ppc-glibc/ChangeLog,v 1.1 2005/07/15 18:15:32 nigoro Exp $ + +*emul-linux-ppc-glibc-2.3.4.20041102-r1 (15 Jul 2005) + + 15 Jul 2005; Yuta SATOH <nigoro@gentoo.org> +metadata.xml, + +emul-linux-ppc-glibc-2.3.4.20041102-r1.ebuild: + initial import, bug #97162 + diff --git a/app-emulation/emul-linux-ppc-glibc/Manifest b/app-emulation/emul-linux-ppc-glibc/Manifest new file mode 100644 index 000000000000..e1eb32a62f97 --- /dev/null +++ b/app-emulation/emul-linux-ppc-glibc/Manifest @@ -0,0 +1,3 @@ +MD5 69ba1c004a064aba3c83dc4fe3b7f331 emul-linux-ppc-glibc-2.3.4.20041102-r1.ebuild 1683 +MD5 a887712c9ddd14ffe10ddc52a07aeeda metadata.xml 287 +MD5 18f6bdfbef0143d4665ef514246bac3c files/digest-emul-linux-ppc-glibc-2.3.4.20041102-r1 251 diff --git a/app-emulation/emul-linux-ppc-glibc/emul-linux-ppc-glibc-2.3.4.20041102-r1.ebuild b/app-emulation/emul-linux-ppc-glibc/emul-linux-ppc-glibc-2.3.4.20041102-r1.ebuild new file mode 100644 index 000000000000..1704748572de --- /dev/null +++ b/app-emulation/emul-linux-ppc-glibc/emul-linux-ppc-glibc-2.3.4.20041102-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-ppc-glibc/emul-linux-ppc-glibc-2.3.4.20041102-r1.ebuild,v 1.1 2005/07/15 18:15:32 nigoro Exp $ + +IUSE="nptl nptlonly" + +# Renamed 1.0 to 2.3.4.20041102-r1 so the version number was more descript, +# but use the old tarballs as they're still fine... +MY_PV=1.0 + +DESCRIPTION="GNU C Library for emulation of 32bit ppc on ppc64" +HOMEPAGE="http://www.gentoo.org/" +BASE_URI="http://dev.gentoo.org/~nigoro/ppc64/multilib/files" +SRC_URI="!nptl? ( ${BASE_URI}/${PN}-${MY_PV}-lt.tar.bz2 ) + nptl? ( !nptlonly? ( ${BASE_URI}/${PN}-${MY_PV}-nptl.tar.bz2 ) ) + nptl? ( nptlonly? ( ${BASE_URI}/${PN}-${MY_PV}-nptlonly.tar.bz2 ) )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~ppc64" + +DEPEND="" +RDEPEND=">=sys-libs/glibc-${PV}" + +S=${WORKDIR} + +src_install() { + tar -c -f - . | tar -x -f - -C ${D} + + # create env.d entry + mkdir -p ${D}/etc/env.d + cat > ${D}/etc/env.d/40emul-linux-ppc-glibc <<ENDOFENV +LDPATH=/emul/linux/ppc/lib:/emul/linux/ppc/usr/lib +ENDOFENV + chmod 644 ${D}/etc/env.d/40emul-linux-ppc-glibc +} + +run_verbose() { + echo "running $@" + $@ || die "unable to $@" +} + +pkg_postinst() { + # for some reason we have users with lib32 as a directory and not a symlink. + # my guess is a broken version of opengl-update somewhere... but since + # having lib32 as a directory is definately broken, lets fix that here. + if [ ! -L /usr/lib32 ] ; then + ewarn "/usr/lib32 is not a symlink... fixing" + run_verbose mv /usr/lib32 /usr/lib32-bork-bork-bork + run_verbose ln -sf /emul/linux/ppc/usr/lib /usr/lib32 + echo "moving /usr/lib32-bork-bork-bork/* to /usr/lib32/" + mv -v /usr/lib32-bork-bork-bork/* /usr/lib32/ + run_verbose rm -rf /usr/lib32-bork-bork-bork + einfo "fixed!" + fi +} diff --git a/app-emulation/emul-linux-ppc-glibc/files/digest-emul-linux-ppc-glibc-2.3.4.20041102-r1 b/app-emulation/emul-linux-ppc-glibc/files/digest-emul-linux-ppc-glibc-2.3.4.20041102-r1 new file mode 100644 index 000000000000..295f5cfd0bd3 --- /dev/null +++ b/app-emulation/emul-linux-ppc-glibc/files/digest-emul-linux-ppc-glibc-2.3.4.20041102-r1 @@ -0,0 +1,3 @@ +MD5 68d62c622ad75959b5a3a60662604e38 emul-linux-ppc-glibc-1.0-lt.tar.bz2 3944525 +MD5 378f66a5d58691ff8c7d8fc4df7e86f4 emul-linux-ppc-glibc-1.0-nptl.tar.bz2 5515230 +MD5 0312b3049e3e31783691e585b04a0ca8 emul-linux-ppc-glibc-1.0-nptlonly.tar.bz2 3959401 diff --git a/app-emulation/emul-linux-ppc-glibc/metadata.xml b/app-emulation/emul-linux-ppc-glibc/metadata.xml new file mode 100644 index 000000000000..4b8a6cef996a --- /dev/null +++ b/app-emulation/emul-linux-ppc-glibc/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ppc64</herd> + <maintainer> + <email>nigoro@gentoo.org</email> + </maintainer> + <maintainer> + <email>ppc64@gentoo.org</email> + </maintainer> +</pkgmetadata> + |