blob: 4907d28f1412499cf6e119f8ddffad7c49c7f12b (
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
|
# 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-x86-baselibs/emul-linux-x86-baselibs-1.2.3.ebuild,v 1.2 2005/07/29 19:18:18 blubb Exp $
DESCRIPTION="Base libraries for emulation of 32bit x86 on amd64"
SRC_URI="http://dev.gentoo.org/~eradicator/amd64/emul/emul-linux-x86-baselibs-${PV}.tar.bz2"
HOMEPAGE="http://amd64.gentoo.org"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE=""
# stop confusing portage 0.o
S=${WORKDIR}
DEPEND="virtual/libc
>=sys-apps/sed-4
app-emulation/emul-linux-x86-glibc
app-emulation/emul-linux-x86-compat"
src_install() {
cd ${WORKDIR}
cp -RPvf ${WORKDIR}/* ${D}/
# create env.d entry
mkdir -p ${D}/etc/env.d
cat > ${D}/etc/env.d/75emul-linux-x86-base <<ENDOFENV
LDPATH=/emul/linux/x86/lib:/emul/linux/x86/usr/lib
ENDOFENV
chmod 644 ${D}/etc/env.d/75emul-linux-x86-base
}
|