summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-03 02:47:01 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-03 02:47:01 +0000
commit08c23245e17192864351b54a23f1d0344bddd866 (patch)
tree3f51f0a9adae99d3ac8ddd10ce3ea63968cc9e6e /media-libs
parentremove $DEBUG (diff)
downloadhistorical-08c23245e17192864351b54a23f1d0344bddd866.tar.gz
historical-08c23245e17192864351b54a23f1d0344bddd866.tar.bz2
historical-08c23245e17192864351b54a23f1d0344bddd866.zip
$DEBUG -> use debug
Diffstat (limited to 'media-libs')
-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
-
}