summaryrefslogtreecommitdiff
blob: c59c379545018e2be8cee2fc7cec8c3e51c5e4c4 (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.3 2006/12/02 21:56:46 beandog 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="~amd64 ~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*
}