# 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 $ S=${WORKDIR}/${P} DESCRIPTION="NURBS surfaces manipulation library" SRC_URI="mirror://sourceforge/libnurbs/${P}.tar.bz2" HOMEPAGE="http://libnurbs.sourceforge.net/" 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 }