aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/megahit/megahit-9999.ebuild')
-rw-r--r--sci-biology/megahit/megahit-9999.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/sci-biology/megahit/megahit-9999.ebuild b/sci-biology/megahit/megahit-9999.ebuild
deleted file mode 100644
index e403604ca..000000000
--- a/sci-biology/megahit/megahit-9999.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit git-r3 toolchain-funcs eutils
-
-DESCRIPTION="Metagenome assembler using succinct de Bruijn graph approach with CUDA"
-HOMEPAGE="https://github.com/voutcn/megahit
- http://bioinformatics.oxfordjournals.org/content/31/10/1674.abstract"
-EGIT_REPO_URI="https://github.com/voutcn/megahit.git"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE="+openmp cuda"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- sys-libs/zlib
- cuda? ( >=dev-util/nvidia-cuda-toolkit-5 dev-libs/cudnn )"
-# >=gcc-4.4
-# contains bundled copy og idba from https://github.com/loneknightpy/idba
-
-pkg_setup() {
- use openmp && ! tc-has-openmp && die "Please switch to an openmp compatible compiler"
-}
-
-src_prepare(){
- default
- if [[ $(tc-getCXX) =~ g++ ]]; then
- local eopenmp=-fopenmp
- elif [[ $(tc-getCXX) =~ cxx ]]; then
- local eopenmp=-openmp
- sed -e "s#-fopenmp#-openmp#" -i Makefile || die
- else
- elog "Cannot detect compiler type so not setting openmp support"
- fi
- if use cuda; then
- local makeopts="use_gpu=1"
- else
- local makeopts=""
- fi
- sed -e "s#^CXXFLAGS = -g -O2#CXXFLAGS = ${CFLAGS}#" -i Makefile || die
-}
-
-src_compile(){
- emake $makeopts
-}
-
-src_install(){
- dobin megahit megahit_toolkit megahit_sdbg_build megahit_asm_core
- dodoc README.md
-}
-
-pkg_postinst(){
- einfo "The maximum k-mer size is 255. You can edit kMaxK in definitions.h"
- einfo "and recompile, eventually"
- einfo "If you enabled GPU then use 'megahit --use-gpu' to activate it."
-}