commit:     e13abc54d0a4bb65bdb67109fbe1ee61f401cf88
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Apr 10 21:21:00 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Apr 10 21:21:00 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e13abc54

sci-biology/megahit: new package

Package-Manager: portage-2.2.28

 sci-biology/megahit/megahit-9999.ebuild | 34 +++++++++++++++++++++++++++++++++
 sci-biology/megahit/metadata.xml        | 12 ++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/sci-biology/megahit/megahit-9999.ebuild 
b/sci-biology/megahit/megahit-9999.ebuild
new file mode 100644
index 0000000..def7fd6
--- /dev/null
+++ b/sci-biology/megahit/megahit-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit git-r3 toolchain-funcs
+
+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"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+       sys-libs/zlib"
+# >=gcc-4.4
+
+# use make use_gpu=1 to compile it and turn on --use-gpu to activate GPU 
acceleration when running megahit
+
+src_prepare(){
+       default
+       sed -e "s#^CXXFLAGS = -g -O2#CXXFLAGS = ${CFLAGS}#" -i Makefile || die
+}
+
+src_install(){
+       dobin megahit megahit_toolkit megahit_sdbg_build megahit_asm_core
+       dodoc README.md
+}

diff --git a/sci-biology/megahit/metadata.xml b/sci-biology/megahit/metadata.xml
new file mode 100644
index 0000000..f68a1b6
--- /dev/null
+++ b/sci-biology/megahit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mmokr...@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci-biol...@gentoo.org</email>
+    <name>Gentoo Biology Project</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to