blob: 0d1c14ac265e85aaa7e7c6d2ca720252fcb7ef63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools toolchain-funcs
DESCRIPTION="Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler"
HOMEPAGE="http://www.bcgsc.ca/platform/bioinfo/software/abyss/"
SRC_URI="https://github.com/bcgsc/abyss/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="abyss"
SLOT="0"
IUSE="+mpi openmp misc-haskell"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-cpp/sparsehash
dev-libs/boost:=
misc-haskell? (
dev-libs/gmp:0=
virtual/libffi:0=
)
mpi? ( sys-cluster/openmpi )"
DEPEND="${RDEPEND}
misc-haskell? (
dev-lang/ghc
dev-haskell/mmap
)"
# todo: --enable-maxk=N configure option
# todo: fix automagic mpi toggling
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_prepare() {
default
sed -i -e "s/-Werror//" configure.ac || die #365195
sed -i -e "/dist_pkgdoc_DATA/d" Makefile.am || die
eautoreconf
}
src_configure() {
# disable building haskell tool Misc/samtobreak
# unless request by user: bug #534412
use misc-haskell || export ac_cv_prog_ac_ct_GHC=
econf $(use_enable openmp)
}
|