From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D393E1382C5 for ; Thu, 31 Dec 2020 04:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F4E2E0872; Thu, 31 Dec 2020 04:46:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03E4EE0872 for ; Thu, 31 Dec 2020 04:46:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3821F340C98 for ; Thu, 31 Dec 2020 04:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBA7453 for ; Thu, 31 Dec 2020 04:46:43 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1609389997.c3cb98a6a4ee1d7fad29a906f2e7fda3db04526a.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/MotionCor2/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild X-VCS-Directories: sci-chemistry/MotionCor2/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: c3cb98a6a4ee1d7fad29a906f2e7fda3db04526a X-VCS-Branch: master Date: Thu, 31 Dec 2020 04:46:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 92918dff-2824-4f6e-abd6-8b9f4764b48b X-Archives-Hash: 53956786a87c423734ab8b9295b70f76 commit: c3cb98a6a4ee1d7fad29a906f2e7fda3db04526a Author: Aisha Tammy aisha cc> AuthorDate: Thu Dec 31 04:46:37 2020 +0000 Commit: Aisha Tammy aisha 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 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 }