diff options
author | Brandy Westcott <brandy@gentoo.org> | 2003-12-15 04:33:46 +0000 |
---|---|---|
committer | Brandy Westcott <brandy@gentoo.org> | 2003-12-15 04:33:46 +0000 |
commit | e4efcedda5ac654da1e6d441a764c05b3dc277f4 (patch) | |
tree | 65449a579a6d37253052089780c0e4776a44b688 /media-gfx/radiance/radiance-3.5.ebuild | |
parent | Install the correct version of /etc/pam.d/system-auth, and do not install (diff) | |
download | gentoo-2-e4efcedda5ac654da1e6d441a764c05b3dc277f4.tar.gz gentoo-2-e4efcedda5ac654da1e6d441a764c05b3dc277f4.tar.bz2 gentoo-2-e4efcedda5ac654da1e6d441a764c05b3dc277f4.zip |
Added X USE flag and dev-lang/tk as a dependency. Added patch to enable radiance to build without X.
Diffstat (limited to 'media-gfx/radiance/radiance-3.5.ebuild')
-rw-r--r-- | media-gfx/radiance/radiance-3.5.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/media-gfx/radiance/radiance-3.5.ebuild b/media-gfx/radiance/radiance-3.5.ebuild index 54fec97f8065..f8d9d181144b 100644 --- a/media-gfx/radiance/radiance-3.5.ebuild +++ b/media-gfx/radiance/radiance-3.5.ebuild @@ -1,12 +1,11 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/radiance/radiance-3.5.ebuild,v 1.1 2003/12/14 17:44:53 malverian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/radiance/radiance-3.5.ebuild,v 1.2 2003/12/15 04:33:32 brandy Exp $ MY_P=${P/./R} MY_P=${MY_P/radiance-/rad} -# Compilation fails with multiple jobs here -MAKEOPTS="" +IUSE="X" DESCRIPTION="Radiance is a suite of programs for the analysis and visualization of lighting in design" HOMEPAGE="http://radsite.lbl.gov/radiance/" @@ -17,7 +16,7 @@ SLOT="0" KEYWORDS="~x86" RDEPEND="media-libs/tiff - virtual/x11" + X? ( virtual/x11 dev-lang/tk )" DEPEND="${RDEPEND}" @@ -27,6 +26,8 @@ src_unpack() { cd ${WORKDIR}/ray mkdir -p src/lib + use X || epatch ${FILESDIR}/${P}-noX11.patch + # patch to not build libtiff that comes with Radiance cp src/px/Rmakefile src/px/Rmakefile.orig sed -e "s/\.\.\/lib\/libtiff\.a$//g" \ @@ -54,7 +55,7 @@ src_compile() { for i in $srcdirs ; do pushd $i - emake "SPECIAL=" \ + make "SPECIAL=" \ "OPT=$CFLAGS -DSPEED=200" \ "MACH=-Dlinux -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGMEM" \ ARCH=IBMPC "COMPAT=bmalloc.o erf.o getpagesize.o" \ @@ -90,6 +91,8 @@ src_install() { doman doc/man/man5/*.5 prepallman + dodoc README + docinto notes dodoc doc/notes/* |