summaryrefslogtreecommitdiff
blob: d6e0113aa9b2e42d12e41053b103fa23a298fc7b (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2004/04/13 17:17:59 kugelfang Exp $

DESCRIPTION="X11R6 libraries for emulation of 32bit x86 on amd64"
SRC_URI="mirror://gentoo/distfiles/emul-linux-x86-xlibs-1.1.tar.bz2"
HOMEPAGE=""

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64"

DEPEND="virtual/glibc"

src_unpack () {
	unpack ${A}
}

src_install() {
	cd ${WORKDIR}
	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
	mv ${WORKDIR}/etc/env.d/75emul-linux-x86-xlibs ${D}/etc/env.d/
	rm -Rf ${WORKDIR}/etc
	cp -Rpvf ${WORKDIR}/* ${D}/emul/linux/x86
}