summaryrefslogtreecommitdiff
blob: e9bdf24f18655adaa53d516813944ac2eb6ce5f3 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/SoQt/SoQt-1.3.0.ebuild,v 1.2 2006/01/04 20:52:01 carlo Exp $

inherit eutils

DESCRIPTION="SoQt provides the glue between Systems in Motion's Coin high-level 3D visualization library and Trolltech's Qt 2D user interface library."

SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${P}.tar.gz"
HOMEPAGE="http://www.coin3d.org/"

SLOT="0"
LICENSE="|| ( GPL-2 PEL )"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND="=x11-libs/qt-3*
	>=media-libs/coin-2.4.4"
DEPEND="${RDEPEND}
	doc? ( app-doc/doxygen )"

src_compile() {
	econf --with-coin --disable-html-help $(use_enable doc html) htmldir=${ROOT}usr/share/doc/${PF}/html
	emake
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS NEWS README*
}