aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2018-04-01 22:46:38 +0200
committerMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2018-04-01 22:46:38 +0200
commit71cdc2ea8a2ce9b5fbf6aaf315c1d7c7016805b9 (patch)
tree7d368caa149f53f9b0324bfd87bf2ef6c02e4311
parentsci-biology/genepop: switch to https (diff)
downloadsci-71cdc2ea.tar.gz
sci-71cdc2ea.tar.bz2
sci-71cdc2ea.zip
sci-biology/diamond: new package
Do not know if the SSE instruction calls can be protected with CPU_FLAGS or similar. See page 2 in diamond_manual.pdf . Package-Manager: Portage-2.3.27, Repoman-2.3.9
-rw-r--r--sci-biology/diamond/Manifest1
-rw-r--r--sci-biology/diamond/diamond-0.9.19.ebuild27
-rw-r--r--sci-biology/diamond/metadata.xml12
3 files changed, 40 insertions, 0 deletions
diff --git a/sci-biology/diamond/Manifest b/sci-biology/diamond/Manifest
new file mode 100644
index 000000000..6e784d485
--- /dev/null
+++ b/sci-biology/diamond/Manifest
@@ -0,0 +1 @@
+DIST v0.9.19.tar.gz 402840 BLAKE2B 81d1586028f16fe01400da49322339fcb1da053d6291276d5b5821ea67ff16b2778f6779743cb783c08ad3d597f32b63382fcc84a60a07eea8f7b4882c3b9733 SHA512 a08dcf9148814cb8b9289813aa678a7cff5ee2703fe39dda8f792a56b96ea6dfd3153c16f8e5a73acbce0ff33ead26575da6cb8c298408427809ffcc5b2f1224
diff --git a/sci-biology/diamond/diamond-0.9.19.ebuild b/sci-biology/diamond/diamond-0.9.19.ebuild
new file mode 100644
index 000000000..fde9b9080
--- /dev/null
+++ b/sci-biology/diamond/diamond-0.9.19.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs cmake-utils
+
+DESCRIPTION="Alternative of blastp/blastx searches using DNA short reads through protein db"
+HOMEPAGE="http://ab.inf.uni-tuebingen.de/software/diamond
+ https://github.com/bbuchfink/diamond"
+SRC_URI="https://github.com/bbuchfink/diamond/archive/v${PV}.tar.gz"
+# EGIT_REPO_URI="https://github.com/bbuchfink/diamond.git"
+
+LICENSE="AGPL-3" # diamond_manual.pdf says AGPL but src/COPYING used to say BSD?
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+# uses SSE instructions, SSSE3 and POPCNT
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+# use cmake -DBUILD_STATIC=ON to create a statically linked binary
+src_install(){
+ cmake-utils_src_install
+ dodoc README.rst diamond_manual.pdf
+}
diff --git a/sci-biology/diamond/metadata.xml b/sci-biology/diamond/metadata.xml
new file mode 100644
index 000000000..138cb7705
--- /dev/null
+++ b/sci-biology/diamond/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>mmokrejs@fold.natur.cuni.cz</email>
+ <name>Martin Mokrejs</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-biology@gentoo.org</email>
+ <name>Gentoo Biology Project</name>
+ </maintainer>
+</pkgmetadata>