Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20856 Details for
Bug 20163
Request new ebuild: Radiance
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
an alternate ebuild
radiance-3.5.ebuild (text/plain), 2.17 KB, created by
Derek Young
on 2003-11-17 05:50:14 UTC
(
hide
)
Description:
an alternate ebuild
Filename:
MIME Type:
Creator:
Derek Young
Created:
2003-11-17 05:50:14 UTC
Size:
2.17 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Radiance is a suite of programs for the analysis and visualization of lighting in design" >HOMEPAGE="http://radsite.lbl.gov/radiance/" >SRC_URI="http://radsite.lbl.gov/${PN}/dist/rad3R5.tar.gz" > ># TODO: fix license >LICENSE="Radiance" >SLOT="0" >KEYWORDS="x86" >IUSE="" > >RDEPEND="media-libs/tiff > virtual/x11" > >DEPEND="${RDEPEND}" > >src_unpack() { > > unpack ${A} > cd ${WORKDIR}/ray > mkdir -p src/lib > > # patch to not build libtiff that comes with Radiance > cp src/px/Rmakefile src/px/Rmakefile.orig > sed -e "s/\.\.\/lib\/libtiff\.a$//g" \ > src/px/Rmakefile.orig > src/px/Rmakefile > > # fix syntax error in standard.h > cp src/common/standard.h src/common/standard.h.orig > sed -e "s/error(et,em) else$/error(et,em); else/g" \ > src/common/standard.h.orig > src/common/standard.h > > # fix incorrect use of errno.h > cp src/cal/ev.c src/cal/ev.c.orig > sed -e "s/extern int errno;/#include <errno.h>/g" \ > src/cal/ev.c.orig > src/cal/ev.c > >} > >src_compile() { > mkdir -p ${T}/bin > mkdir -p ${T}/bin/dev > mkdir -p ${T}/lib/ray > > cd ${WORKDIR}/ray/src > local srcdirs="common meta cv gen ot rt px hd util cal" > for i in $srcdirs ; > do > pushd $i > emake "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" \ > INSTDIR=${T}/bin \ > LIBDIR=${T}/lib/ray \ > CC=gcc "$@" -f Rmakefile install || die "Unable to build $i" > popd > done > > # TODO: figure out what to do with the dev files > mv ${T}/bin/dev ${T}/dev > > rm -r ${WORKDIR}/ray/lib/CVS > rm -r ${T}/lib/ray/CVS > rm -r ${WORKDIR}/ray/doc/notes/CVS >} > >src_install() { > mkdir -p ${D}/usr/bin > mkdir -p ${D}/usr/lib/ray > > dobin ${T}/bin/* > > cp -R ${T}/lib/ray ${D}/usr/lib/ray > cd ${WORKDIR}/ray > (cd lib ; tar -cf - *) | (cd ${D}/usr/lib/ray ; tar -xf -) > > # man = /usr/share/man > cd ${WORKDIR}/ray > doman doc/man/man1/*.1 > doman doc/ray.1 > doman doc/man/man3/*.3 > doman doc/man/man5/*.5 > prepallman > > docinto notes > dodoc doc/notes/* > > docinto pdf > dodoc doc/pdf/*.pdf > dodoc doc/ps/*.ps > dohtml doc/ray.html > prepalldocs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 20163
:
18290
|
18291
|
18292
| 20856