blob: c9e2b7d6229d8fe01666ebb3e342a30edbc24a81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-xlibs/emul-linux-x86-xlibs-1.1.ebuild,v 1.9 2004/06/30 17:25:31 kugelfang Exp $
DESCRIPTION="X11R6 libraries for emulation of 32bit x86 on amd64"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/distfiles/emul-linux-x86-xlibs-1.1.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
DEPEND="virtual/libc"
S=${WORKDIR}
src_install() {
mkdir -p ${D}/emul/linux/x86
mkdir -p ${D}/emul/linux/x86/usr/lib/opengl
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/X11/locale
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/modules/dri
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/modules/fonts
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/modules/codeconv
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/modules/extensions
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/modules/drivers
mkdir -p ${D}/emul/linux/x86/usr/X11R6/lib/modules/input
mkdir -p ${D}/etc/env.d
# ARGH, forgot to include env.d file, workaround till next version
echo "LDPATH=/emul/linux/x86/usr/X11R6/lib:/emul/linux/x86/usr/lib/opengl/xorg-x11/lib" > ${D}/etc/env.d/75emul-linux-x86-xlibs
#mv -v ${WORKDIR}/etc/env.d/75emul-linux-x86-xlibs ${D}/etc/env.d/
#rm -Rf ${WORKDIR}/etc
# ARGH2, libxrx.so[.6] must be symlinks !
cd ${WORKDIR}/usr/X11R6/lib
rm -f libxrx.so
rm -f libxrx.so.6
ln -sf libxrx.so.6.3 libxrx.so
ln -sf libxrx.so.6.3 libxrx.so.6
cp -Rpvf ${WORKDIR}/* ${D}/emul/linux/x86
}
|