commit:     34e693f2fc0529853c8af20bc738dcda6a4f68c8
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jul 12 17:02:43 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jul 12 17:02:43 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=34e693f2

sci-biology/ampliconnoise: more ebuild tweaks

Package-Manager: portage-2.2.28

 sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild 
b/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild
index 40909fd..16af117 100644
--- a/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild
+++ b/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,11 +14,22 @@ SRC_URI="
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
+IUSE="mpi"
+RDEPEND="
+       mpi? ( virtual/mpi )
+       sci-libs/gsl
+       sci-biology/mafft
+       sci-biology/usearch-bin
+       dev-haskell/biosff || ( sci-biology/flower )"
+       # sci-biology/flower::haskell installs renamed binaries to avoid file 
collision
+       # unfortunately flower executable from the two packages
+       # dev-haskell/biosff::science vs. sci-biology/flower::haskell
+       # do not offer same cmdline options (upstream did not sync the two 
packages)
 
 S="${WORKDIR}/AmpliconNoiseV1.27"
 
 src_compile(){
+       # FIXME: the Makefile forcibly calls 'mpicc'
        emake
        cd ../DiversityEstimates || die
        emake
@@ -26,5 +37,8 @@ src_compile(){
 
 src_install(){
        default
-       dodoc "${WORKDIR}"/TutorialV1.22/Tutorial.ppt 
"${WORKDIR}"/TutorialV1.22/SmallTwins.*
+       dodoc "${WORKDIR}"/TutorialV1.22/Tutorial.ppt 
"${WORKDIR}"/TutorialV1.22/SmallTwins.* Doc.pdf
+       mv bin "${DESTDIR}/${EPREFIX}"/usr/ || die
+       insinto /usr/share/"${PN}"/scripts
+       doins Scripts/*.pl Scripts/*.sh
 }

Reply via email to