You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
4 years ago
|
|
||
|
inherit autotools toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler"
|
||
2 years ago
|
HOMEPAGE="https://www.bcgsc.ca/resources/software/abyss/"
|
||
4 years ago
|
SRC_URI="https://github.com/bcgsc/abyss/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
2 years ago
|
LICENSE="GPL-3"
|
||
4 years ago
|
SLOT="0"
|
||
2 years ago
|
IUSE="openmp misc-haskell"
|
||
4 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-cpp/sparsehash
|
||
|
dev-libs/boost:=
|
||
|
misc-haskell? (
|
||
|
dev-libs/gmp:0=
|
||
4 years ago
|
dev-libs/libffi:0=
|
||
4 years ago
|
)
|
||
2 years ago
|
sys-cluster/openmpi
|
||
|
dev-db/sqlite:3
|
||
|
"
|
||
4 years ago
|
DEPEND="${RDEPEND}
|
||
|
misc-haskell? (
|
||
|
dev-lang/ghc
|
||
2 years ago
|
)
|
||
|
"
|
||
4 years ago
|
|
||
|
# todo: --enable-maxk=N configure option
|
||
2 years ago
|
# todo: also allow build with mpich (--enable-mpich)
|
||
4 years ago
|
|
||
|
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=
|
||
|
|
||
2 years ago
|
econf $(use_enable openmp) --enable-maxk=256
|
||
4 years ago
|
}
|