public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/
Date: Thu, 31 Dec 2020 04:46:43 +0000 (UTC)	[thread overview]
Message-ID: <1609389997.c3cb98a6a4ee1d7fad29a906f2e7fda3db04526a.epsilon-0@gentoo> (raw)

commit:     c3cb98a6a4ee1d7fad29a906f2e7fda3db04526a
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Dec 31 04:46:37 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 31 04:46:37 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c3cb98a6

sci-chemistry/MotionCor2: add symlink to binary

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
index 99b3b14cd..e1f880d28 100644
--- a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
+++ b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
@@ -11,7 +11,7 @@ S="${WORKDIR}"/${PN}_${PV}
 LICENSE="UCSF-Motioncor2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="cuda92 cuda102"
+IUSE="cuda92 +cuda102"
 REQUIRED_USE="^^ ( cuda92 cuda102 )"
 RESTRICT="fetch"
 
@@ -37,9 +37,12 @@ src_install() {
 
 	# package also has 10.0 10.1 11.0 versions
 	# but these cuda versions are not in ::gentoo
+	local mcbin
 	if use cuda92; then
-		dobin ${PN}_${PV}-Cuda92 ${PN}
+		mcbin="${PN}_${PV}_Cuda92"
 	elif use cuda102; then
-		dobin ${PN}_${PV}-Cuda102 ${PN}
+		mcbin="${PN}_${PV}_Cuda102"
 	fi
+	dobin "${mcbin}"
+	dosym "${mcbin}" /usr/bin/MotionCor2
 }


             reply	other threads:[~2020-12-31  4:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-31  4:46 Aisha Tammy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-23 13:12 [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/ Andrew Ammerlaan
2021-06-01  8:59 Andrew Ammerlaan
2021-06-01  8:56 Andrew Ammerlaan
2021-03-19 11:09 Andrew Ammerlaan
2020-12-31  4:41 Aisha Tammy
2020-12-31  4:41 Aisha Tammy
2019-10-30  8:51 Alexey Shvetsov
2019-10-29  9:09 Alexey Shvetsov

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=1609389997.c3cb98a6a4ee1d7fad29a906f2e7fda3db04526a.epsilon-0@gentoo \
    --to=gentoo@aisha.cc \
    --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