summaryrefslogtreecommitdiff
blob: 521331f50fc9a33dda8346a2d468da9c893d4a02 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3studio/k3studio-0.98.ebuild,v 1.7 2003/02/13 12:36:16 vapier Exp $

inherit kde-base || die

need-kde 3
DESCRIPTION="KDE universal workbench for 2D/3D modeling, visualization and simulation."
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://k3studio.sourceforge.net"


LICENSE="GPL-2"
KEYWORDS="x86"

newdepend "=dev-lang/python-2.2*
   >=media-libs/glut-3.7
   >=sys-libs/readline-4.1
   >=media-libs/freetype-2.0.5
   >=media-libs/qhull-3.1"

src_compile() {
	kde_src_compile myconf
	myconf="$myconf --with-qhull-includes=/usr/include/qhull"
	myconf="$myconf --with-qhull-libraries=/usr/lib"
	myconf="$myconf --with-python-includes=/usr/include/python2.2"
	myconf="$myconf --with-python-libraries=/usr/lib/python2.2/config"
	myconf="$myconf --prefix=$KDEDIR"

	kde_src_compile configure make
}