blob: f463481aeb38a33bed4986a26ce30d9b7af935d5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-libs/nurbs++/nurbs++-3.0.10.ebuild,v 1.4 2002/07/23 00:12:55 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="NURBS surfaces manipulation library"
SRC_URI="http://yukon.genie.uottawa.ca/~lavoie/software/nurbs/${P}.tar.bz2"
HOMEPAGE="http://yukon.genie.uottawa.ca/~lavoie/software/nurbs/"
SLOT="3"
LICENSE="LGPL-2"
KEYWORDS="x86"
DEPEND="virtual/x11
sys-devel/perl"
#media-gfx/imagemagick # doesn't work yet either
# opengl? ( virtual/opengl ) # doesn't work yet
src_compile() {
#use opengl \
# && myconf="$myconf --with-opengl=/usr" \
# || myconf="$myconf --without-opengl"
[ -n "$DEBUG" ] \
&& myconf="${myconf} \
--enable-debug \
--enable-exception \
--enable-verbose-exception" \
|| myconf="${myconf} \
--disable-debug \
--disable-exception \
--disable-verbose-exception"
./configure --with-x --prefix=/usr ${myconf} || die # --with-magick
make || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING ChangeLog NEWS README
}
|