From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
Date: Mon, 24 Nov 2014 16:20:07 +0000 (UTC) [thread overview]
Message-ID: <1416396566.664673fd5daf989c14a27fbd0e4f32a6c1863094.ottxor@gentoo> (raw)
commit: 664673fd5daf989c14a27fbd0e4f32a6c1863094
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Nov 19 11:29:26 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Nov 19 11:29:26 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=664673fd
nvidia-cuda-gdk: Add ~x86 keyword
---
dev-util/nvidia-cuda-gdk/ChangeLog | 4 ++++
.../nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 19 +++++++++++++------
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index 6e289bb..58f8973 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>
+ nvidia-cuda-gdk-340.29.ebuild:
+ Add ~x86 keyword
+
*nvidia-cuda-gdk-340.29 (18 Nov 2014)
18 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>
diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index a11c79b..54ec87a 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="NVIDIA-gdk"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE="+healthmon +nvml +doc examples"
RDEPEND="
@@ -41,13 +41,20 @@ src_compile() {
}
src_install() {
- local i j f t
+ local i j f t ARCH
+ if use amd64; then
+ ARCH=amd64;
+ elif use x86; then
+ ARCH=x86;
+ else
+ die;
+ fi
if use doc; then
if use healthmon ; then
ebegin "Installing healthmon docs..."
doman nvidia-healthmon/docs/man/man8/nvidia-healthmon.8
- cd "${S}/nvidia-healthmon/nvidia-healthmon-amd64-${PV}" || die
+ cd "${S}/nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}" || die
treecopy $(find -type f \( -name README.txt -name COPYING.txt -o -name "*.pdf" \)) "${ED}"/usr/share/doc/${PF}/nvidia-healthmon/
docompress -x $(find "${ED}"/usr/share/doc/${PF}/nvidia-healthmon/ -type f -name readme.txt | sed -e "s:${ED}::")
cd "${S}/" || die
@@ -72,11 +79,11 @@ src_install() {
if use healthmon; then
ebegin "Installing nvidia-healthmon"
exeinto "/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/"
- doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}/bin"/{*,*.*}
+ doexe "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}/bin"/{*,*.*}
exeinto "/opt/cuda/gdk/nvidia-healthmon/"
- doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon
+ doexe "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}"/nvidia-healthmon
insinto "/etc/nvidia-healthmon/"
- doins "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon.conf
+ doins "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}"/nvidia-healthmon.conf
# install launch script
exeinto /opt/bin
next reply other threads:[~2014-11-24 16:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 16:20 Christoph Junghans [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-10-27 16:05 [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/ Justin Lecher
2017-11-18 19:49 Justin Lecher
2016-05-30 8:11 Marius Brehler
2015-09-23 12:48 Justin Lecher
2015-09-13 18:34 Justin Lecher
2015-07-23 21:06 Jauhien Piatlicki
2015-03-20 4:31 Christoph Junghans
2015-02-02 12:06 Justin Lecher
2015-01-22 0:09 Christoph Junghans
2015-01-19 17:59 Justin Lecher
2014-12-01 9:28 Justin Lecher
2014-11-30 13:34 Justin Lecher
2014-11-30 13:34 Justin Lecher
2014-11-19 8:30 Justin Lecher
2014-11-19 8:30 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416396566.664673fd5daf989c14a27fbd0e4f32a6c1863094.ottxor@gentoo \
--to=ottxor@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox