summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-11-12 16:09:52 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-11-12 16:09:52 +0000
commit3475c8839306b0f2803b0757421a920dc0e4c8ef (patch)
treec6ddc9d37fbc8c6713160d8e9c1c9e88c65cdcf2 /sys-libs/lib-compat-loki
parentVersion bump upstream (diff)
downloadgentoo-2-3475c8839306b0f2803b0757421a920dc0e4c8ef.tar.gz
gentoo-2-3475c8839306b0f2803b0757421a920dc0e4c8ef.tar.bz2
gentoo-2-3475c8839306b0f2803b0757421a920dc0e4c8ef.zip
Added libsmpeg compiled against older glibc for descent3 compatibility on amd64.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-libs/lib-compat-loki')
-rw-r--r--sys-libs/lib-compat-loki/ChangeLog9
-rw-r--r--sys-libs/lib-compat-loki/files/digest-lib-compat-loki-0.21
-rw-r--r--sys-libs/lib-compat-loki/lib-compat-loki-0.2.ebuild43
3 files changed, 52 insertions, 1 deletions
diff --git a/sys-libs/lib-compat-loki/ChangeLog b/sys-libs/lib-compat-loki/ChangeLog
index 95f512a0092d..ab75d99f5d78 100644
--- a/sys-libs/lib-compat-loki/ChangeLog
+++ b/sys-libs/lib-compat-loki/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-libs/lib-compat-loki
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/lib-compat-loki/ChangeLog,v 1.1 2005/02/23 02:47:50 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/lib-compat-loki/ChangeLog,v 1.2 2005/11/12 16:09:52 wolf31o2 Exp $
+
+*lib-compat-loki-0.2 (12 Nov 2005)
+
+ 12 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ +lib-compat-loki-0.2.ebuild:
+ Added libsmpeg compiled against older glibc for descent3 compatibility on
+ amd64.
*lib-compat-loki-0.1 (22 Feb 2005)
diff --git a/sys-libs/lib-compat-loki/files/digest-lib-compat-loki-0.2 b/sys-libs/lib-compat-loki/files/digest-lib-compat-loki-0.2
new file mode 100644
index 000000000000..508bb3837a71
--- /dev/null
+++ b/sys-libs/lib-compat-loki/files/digest-lib-compat-loki-0.2
@@ -0,0 +1 @@
+MD5 4b0e1fba1cd04b6bab7fa17e95b7972a lib-compat-loki-0.2.tar.bz2 1441552
diff --git a/sys-libs/lib-compat-loki/lib-compat-loki-0.2.ebuild b/sys-libs/lib-compat-loki/lib-compat-loki-0.2.ebuild
new file mode 100644
index 000000000000..6dd795d729b8
--- /dev/null
+++ b/sys-libs/lib-compat-loki/lib-compat-loki-0.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/lib-compat-loki/lib-compat-loki-0.2.ebuild,v 1.1 2005/11/12 16:09:52 wolf31o2 Exp $
+
+DESCRIPTION="Compatibility libc6 libraries for Loki games"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="http://www.blfh.de/gentoo/distfiles/${P}.tar.bz2
+ http://dev.gentoo.org/~wolf31o2/sources/lib-compat-loki/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86" # ppc
+IUSE=""
+
+RDEPEND="virtual/libc"
+
+# I'm not quite sure if this is necessary:
+RESTRICT="nostrip"
+
+src_unpack() {
+ unpack ${A}
+ if use x86 || use amd64
+ then
+ cd ${S}/x86
+ fi
+ # rename the libs in order to _never_ overwrite any existing lib.
+ mv libc-2.2.5.so loki_libc.so.6
+ mv ld-2.2.5.so loki_ld-linux.so.2
+ mv libnss_files-2.2.5.so loki_libnss_files.so.2
+ mv libsmpeg-0.4.so.0 loki_libsmpeg-0.4.so.0
+}
+
+src_install() {
+ if use x86 || use amd64
+ then
+ into /
+ dolib.so x86/loki_ld-linux.so.2
+ rm -f x86/loki_ld-linux.so.2
+ into /usr
+ dolib.so x86/*.so*
+ preplib /usr
+ fi
+}