blob: 0f0a61da9c027376a9acd79ae765090345a7e85e (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/marble/marble-0.3.ebuild,v 1.3 2007/04/13 11:24:49 tove Exp $
inherit toolchain-funcs
DESCRIPTION="Free 3D desk globe and world atlas"
HOMEPAGE="http://edu.kde.org/marble/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=x11-libs/qt-4.2.3"
DEPEND="${RDEPEND}
>=dev-util/cmake-2.4.5"
S=${WORKDIR}/${PN}
src_compile() {
# Only use Qt to build marble
cmake -DQTONLY=ON -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_COMPILER=$(type -p $(tc-getCC)) \
-DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX))
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die "make install failed"
}
|