blob: 68502a6b2fcf1c0a07e0206336e102db6821300d (
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
|
# 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-qtlibs/emul-linux-x86-qtlibs-2.1.ebuild,v 1.1 2005/04/18 10:13:41 herbs Exp $
DESCRIPTION="QT 2/3 libraries for emulation of 32bit x86 on amd64"
SRC_URI="mirror://gentoo/emul-linux-x86-qtlibs-${PV}.tar.bz2"
HOMEPAGE="http://www.gentoo.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE=""
RDEPEND="virtual/libc
>=app-emulation/emul-linux-x86-xlibs-2.0"
src_install() {
cd ${WORKDIR}
# create env.d entry
mkdir -p ${D}/etc/env.d
cat > ${D}/etc/env.d/45emul-linux-x86-qtlibs <<ENDOFENV
LDPATH=/emul/linux/x86/usr/qt/2/lib:/emul/linux/x86/usr/qt/3/lib
QTDIR=/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3
ENDOFENV
chmod 644 ${D}/etc/env.d/45emul-linux-x86-qtlibs
cp -RPvf ${WORKDIR}/* ${D}/
}
|