summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-03 02:48:40 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-03 02:48:40 +0000
commit318e8c3a7b8923cd23c9c746f8dcf98796795d6e (patch)
tree5f5812c288158617198b0d1cda360c2703fa1f05 /media-libs/nurbs++
parentremove $DEBUG (diff)
downloadgentoo-2-318e8c3a7b8923cd23c9c746f8dcf98796795d6e.tar.gz
gentoo-2-318e8c3a7b8923cd23c9c746f8dcf98796795d6e.tar.bz2
gentoo-2-318e8c3a7b8923cd23c9c746f8dcf98796795d6e.zip
$DEBUG -> use debug
Diffstat (limited to 'media-libs/nurbs++')
-rw-r--r--media-libs/nurbs++/files/digest-nurbs++-3.0.101
-rw-r--r--media-libs/nurbs++/nurbs++-3.0.10.ebuild47
-rw-r--r--media-libs/nurbs++/nurbs++-3.0.11.ebuild42
3 files changed, 17 insertions, 73 deletions
diff --git a/media-libs/nurbs++/files/digest-nurbs++-3.0.10 b/media-libs/nurbs++/files/digest-nurbs++-3.0.10
deleted file mode 100644
index 5391f34da7b3..000000000000
--- a/media-libs/nurbs++/files/digest-nurbs++-3.0.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2898e7c5de4fffaf4310f17a6a7adac4 nurbs++-3.0.10.tar.bz2 324528
diff --git a/media-libs/nurbs++/nurbs++-3.0.10.ebuild b/media-libs/nurbs++/nurbs++-3.0.10.ebuild
deleted file mode 100644
index 47c9a90a9f53..000000000000
--- a/media-libs/nurbs++/nurbs++-3.0.10.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nurbs++/nurbs++-3.0.10.ebuild,v 1.9 2003/03/11 21:11:46 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 sparc "
-
-DEPEND="virtual/x11
- dev-lang/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
-
-}
diff --git a/media-libs/nurbs++/nurbs++-3.0.11.ebuild b/media-libs/nurbs++/nurbs++-3.0.11.ebuild
index 92d3b05388e0..a40b451422ab 100644
--- a/media-libs/nurbs++/nurbs++-3.0.11.ebuild
+++ b/media-libs/nurbs++/nurbs++-3.0.11.ebuild
@@ -1,16 +1,15 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nurbs++/nurbs++-3.0.11.ebuild,v 1.6 2003/03/11 21:11:46 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nurbs++/nurbs++-3.0.11.ebuild,v 1.7 2003/08/03 02:47:01 vapier Exp $
-S=${WORKDIR}/${P}
DESCRIPTION="NURBS surfaces manipulation library"
-SRC_URI="mirror://sourceforge/libnurbs/${P}.tar.bz2"
HOMEPAGE="http://libnurbs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libnurbs/${P}.tar.bz2"
-
-SLOT="3"
LICENSE="LGPL-2"
-KEYWORDS="x86 sparc "
+SLOT="3"
+KEYWORDS="x86 sparc"
+IUSE="debug" #opengl
DEPEND="virtual/x11
dev-lang/perl"
@@ -18,30 +17,23 @@ DEPEND="virtual/x11
# opengl? ( virtual/opengl ) # doesn't work yet
src_compile() {
-
+ local myconf=""
#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
-
+ # && myconf="${myconf} --with-opengl=/usr" \
+ # || myconf="${myconf} --without-opengl"
+
+ ./configure \
+ --with-x \
+ --prefix=/usr \
+ `use_enable debug` \
+ `use_enable debug exception` \
+ `use_enable debug verbose-exception` \
+ ${myconf} \
+ || die # --with-magick
make || die
-
}
src_install() {
-
make DESTDIR=${D} install || die
-
dodoc AUTHORS COPYING ChangeLog NEWS README
-
}