blob: 0247b7ac216ced5b7aa0e3c56e4525485d74eec3 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/qsa/qsa-1.0.1.ebuild,v 1.6 2005/07/25 15:40:59 caleb Exp $
inherit eutils qt3
IUSE=""
S="${WORKDIR}/${PN}-x11-free-${PV}"
DESCRIPTION="QSA version ${PV}"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc amd64"
SRC_URI="ftp://ftp.trolltech.com/qsa/source/${PN}-x11-free-${PV}.tar.gz"
HOMEPAGE="http://www.trolltech.com/"
DEPEND="$(qt_min_version 3.2)"
src_compile() {
epatch ${FILESDIR}/${P}-no-examples.diff
epatch ${FILESDIR}/${P}-sandbox-fix.diff
./configure -prefix ${D}${QTDIR} -no-ide || die
emake || die
}
src_install() {
sed -e "s:${S}:${QTBASE}:g" ${S}/.qmake.cache > ${D}/${QTBASE}/.qmake.cache
make install
dodoc INSTALL README LICENSE.GPL
}
|