1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools toolchain-funcs
8 DESCRIPTION="Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler"
9 HOMEPAGE="http://www.bcgsc.ca/platform/bioinfo/software/abyss/"
10 SRC_URI="https://github.com/bcgsc/abyss/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 IUSE="+mpi openmp misc-haskell"
15 KEYWORDS="~amd64 ~x86"
24 mpi? ( sys-cluster/openmpi )"
30 # todo: --enable-maxk=N configure option
31 # todo: fix automagic mpi toggling
34 [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
38 [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
43 sed -i -e "s/-Werror//" configure.ac || die #365195
44 sed -i -e "/dist_pkgdoc_DATA/d" Makefile.am || die
49 # disable building haskell tool Misc/samtobreak
50 # unless request by user: bug #534412
51 use misc-haskell || export ac_cv_prog_ac_ct_GHC=
53 econf $(use_enable openmp)