aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2015-05-23 23:51:58 +0200
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2015-05-23 23:51:58 +0200
commit4c3880bfe25f6b81461523e3f1f38b43614d51b9 (patch)
tree2e3a15328c79c474c9b42998a085ef9c9fc87041 /sci-biology/abyss/abyss-1.3.4-r1.ebuild
parentsci-biology/amos: add qt3support requirement so that we actually compile hawk... (diff)
downloadsci-4c3880bfe25f6b81461523e3f1f38b43614d51b9.tar.gz
sci-4c3880bfe25f6b81461523e3f1f38b43614d51b9.tar.bz2
sci-4c3880bfe25f6b81461523e3f1f38b43614d51b9.zip
sci-biology/amos: bring in upstream patch to cope with secondary alignments from 'bwa mem -M'
Package-Manager: portage-2.2.18
Diffstat (limited to 'sci-biology/abyss/abyss-1.3.4-r1.ebuild')
-rw-r--r--sci-biology/abyss/abyss-1.3.4-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-biology/abyss/abyss-1.3.4-r1.ebuild b/sci-biology/abyss/abyss-1.3.4-r1.ebuild
new file mode 100644
index 000000000..48d767122
--- /dev/null
+++ b/sci-biology/abyss/abyss-1.3.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/abyss/abyss-1.3.4.ebuild,v 1.3 2013/08/11 14:55:22 jlec Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils
+
+DESCRIPTION="Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler"
+HOMEPAGE="http://www.bcgsc.ca/platform/bioinfo/software/abyss/"
+SRC_URI="http://www.bcgsc.ca/downloads/abyss/${P}.tar.gz"
+
+LICENSE="abyss"
+SLOT="0"
+IUSE="+mpi openmp"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-cpp/sparsehash
+ mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+# todo: --enable-maxk=N configure option
+# todo: fix automagic mpi toggling
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc-4.7.patch
+ "${FILESDIR}"/${PN}-1.3.3-ac_prog_ar.patch
+ "${FILESDIR}"/${P}-samtoafg.patch
+ )
+
+src_prepare() {
+ tc-export AR
+ sed -i -e "s/-Werror//" configure.ac || die #365195
+ sed -i -e "/dist_pkgdoc_DATA/d" Makefile.am || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+ $(use_enable openmp)
+ )
+ autotools-utils_src_configure
+}