blob: 97ac0dbcf3c657b2e425c3cae12f0c7b6baa354b (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-doc/qt-docs/qt-docs-3.0.4.1.ebuild,v 1.2 2002/07/11 06:30:11 drobbins Exp $
# qt-copy-3.0.4 (released with kde-3.0.1)
PV=3.0.4
DESCRIPTION="QT version ${PV}"
SLOT="3"
S=${WORKDIR}/qt-copy-3.0.4
SRC_URI="ftp://ftp.kde.org/pub/kde/stable/3.0.1/src/qt-copy-${PV}.tar.bz2"
HOMEPAGE="http://www.trolltech.com/"
DEPEND="=x11-libs/qt-3*"
RDEPEND="$DEPEND sys-devel/gcc"
QTBASE=/usr/qt/3
export QTDIR=${S}
src_compile() {
einfo "Nothing to compile."
}
src_install() {
cd ${S}
# misc
insinto /etc/env.d
doins ${FILESDIR}/45qt-docs3
# docs
cd ${S}/doc
dodir ${QTBASE}/doc
for x in html flyers; do
cp -r $x ${D}/${QTBASE}/doc
done
# manpages
cp -r ${S}/doc/man ${D}/${QTBASE}
# examples
cp -r ${S}/examples ${D}/${QTBASE}
# tutorials
cp -r ${S}/tutorial ${D}/${QTBASE}
}
|