Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 271811 Details for
Bug 270480
media-gfx/nvidia-cg-toolkit-3.0.0016 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nvidia-cg-toolkit-3.0.0016.ebuild
nvidia-cg-toolkit-3.0.0016.ebuild (text/plain), 2.27 KB, created by
Piotr Szymaniak
on 2011-05-01 21:46:53 UTC
(
hide
)
Description:
nvidia-cg-toolkit-3.0.0016.ebuild
Filename:
MIME Type:
Creator:
Piotr Szymaniak
Created:
2011-05-01 21:46:53 UTC
Size:
2.27 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >inherit versionator > >MY_PV="$(get_version_component_range 1-2)" >MY_DATE="February2011" >DESCRIPTION="NVIDIA's C graphics compiler toolkit" >HOMEPAGE="http://developer.nvidia.com/object/cg_toolkit.html" >X86_URI="http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz" >SRC_URI="x86? ( ${X86_URI} ) > amd64? ( > http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz > multilib? ( ${X86_URI} ) > )" > >LICENSE="NVIDIA" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="doc examples multilib" >RESTRICT="strip" > >RDEPEND="media-libs/freeglut > x86? ( virtual/libstdc++:3.3 ) > multilib? ( amd64? ( app-emulation/emul-linux-x86-xlibs ) )" > >S=${WORKDIR} > >DEST=/opt/${PN} > >src_unpack() { > if use multilib && use amd64; then > for i in $A; do > if [[ "$i" =~ .*x86_64.* ]]; then > mkdir 64bit > cd 64bit > unpack "$i" > cd .. > else > mkdir 32bit > cd 32bit > unpack "$i" > cd .. > fi > done > else > default > fi >} > >src_install() { > into ${DEST} > if use multilib && use amd64; then > cd 64bit > fi > > dobin usr/bin/cgc || die > dobin usr/bin/cgfxcat || die > dobin usr/bin/cginfo || die > dodir /opt/bin || die > dosym ${DEST}/bin/cgc /opt/bin/cgc || die > dosym ${DEST}/bin/cgfxcat /opt/bin/cgfxcat || die > dosym ${DEST}/bin/cginfo /opt/bin/cginfo || die > > if use x86; then > dolib usr/lib/* || die > elif use amd64; then > dolib usr/lib64/* > if use multilib && use amd64; then > cd ../32bit > ABI="x86" dolib usr/lib/* > cd ../64bit > fi > fi > > exeinto ${DEST}/lib > if use x86 ; then > doexe usr/lib/* || die > elif use amd64 ; then > doexe usr/lib64/* || die > fi > > doenvd "${FILESDIR}"/80cgc-opt > > insinto ${DEST}/include/Cg > doins usr/include/Cg/* > > doman usr/share/man/man3/* usr/share/man/man1/* ># here we have some strange manpages ># usr/share/man/manCg/* usr/share/man/manCgFX/* > > if use doc; then > insinto ${DEST} > doins -r usr/local/Cg/docs > fi > > if use examples; then > insinto ${DEST} > doins -r usr/local/Cg/examples > fi > > dodoc README >} > >pkg_postinst() { > einfo "Starting with ${CATEGORY}/${PN}-2.1.0016, ${PN} is installed in" > einfo "${DEST}. Packages might have to add something like:" > einfo " append-cppflags -I${DEST}/include" >}
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 270480
:
191827
|
198500
|
206593
|
224585
|
253859
|
253875
|
253903
|
262883
|
262885
|
267305
| 271811 |
271931