summaryrefslogtreecommitdiff
path: root/sci-biology/prank
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/prank
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/prank')
-rw-r--r--sci-biology/prank/Manifest6
-rw-r--r--sci-biology/prank/files/prank-140603-fix-c++14.patch14
-rw-r--r--sci-biology/prank/metadata.xml11
-rw-r--r--sci-biology/prank/prank-140603.ebuild38
4 files changed, 69 insertions, 0 deletions
diff --git a/sci-biology/prank/Manifest b/sci-biology/prank/Manifest
new file mode 100644
index 000000000000..3392278b624a
--- /dev/null
+++ b/sci-biology/prank/Manifest
@@ -0,0 +1,6 @@
+AUX prank-140603-fix-c++14.patch 395 SHA256 e755cfc8b57ecf91cb75f5aa670206f69d6a8597bda1bb181f77e157b6e61127 SHA512 a7ac7e9e8a138a2ce103302a92e936ab1c0b15c72ac8cdb2aae26c8767e764b42b048d40c436cfd21b372ae471706852ca23b41150578bb83ebbb13a7b7ac014 WHIRLPOOL a9230b1f702970c430d8cc6641b085698472237e72f51a9ad21571bde4c54839322d7b479410952dd134fe20a5c70166e0380d94ab650a87020d71ba037ecbe1
+DIST prank.source.140603.tgz 150346 SHA256 9a48064132c01b6dba1eec90279172bf6c13d96b3f1b8dd18297b1a53d17dec6 SHA512 25e5f99a3822ff31436406f9ba1c781ba375959e1ed452c1e7416898d5246183510ec6d2bc715ff1495a779e42d7bd1d49ad1c332e1bd5982dad8c744ad999c7 WHIRLPOOL 5884563e6035b7e5a06b064035980e9fcee1cafcf559d86c8b9c8fc23628c7e9d1ba3e153a06f7322bb536120adcc6c8d169381f95d0a491b57836ada35a0de6
+EBUILD prank-140603.ebuild 739 SHA256 be4fbd1ac266dd6a21f792812b261a4dcff3e2371f0f6a5c7bd6de5ea60cc772 SHA512 81240472088098b2f2685e8a433a527d06a1efdb51edadc17380738700c1202097e5392ad06c13dfef2b554f08bb5a54b0b3008bd9329edb4f363e2688e62dd5 WHIRLPOOL 54d32b24c051122268373298cdee1491a96db8aa46fac6ab5f66e05a93d536b0cfe073f8546f4128eebb27c3f93113d4cefa0f53c9bfffca15aa3afbdf0119f8
+MISC ChangeLog 3119 SHA256 466c7fbdb55a4c3b9ec9d40556b1293f0920508a2638577f278e165749b359ff SHA512 3f3544bb2baa7df31c03c0e075de54abb8a686df562fbd21eb81f5a87ac25abffa3a30c9a91fda2c0b6452eb3cf6d2f1107d01f7834110de064408a42da7e1f2 WHIRLPOOL d8ff82d398b25fa8a69f4c902adb90345ba306294e7575061ae9289b888ce039676a32020ca18e67066c0bf7445c3a8b0bfa89da417f1472fc099ae78ec83952
+MISC ChangeLog-2015 1840 SHA256 d44f30b3a7725bd7b85e093058ec287dcecd0ef8896481efba6a9a15d96cb696 SHA512 87be0c60539ad6f91fd4bd1d29c3f8744ca8dfcb41b77766d2550d9649b475784f3c36690e66eca6ae2d1663e3fedc7637f3ab59f285f2322a0e2981b5322383 WHIRLPOOL a0df85ee894a20a4d3287cf4ac7b36d525e4be7548772a405d4e287be299c5747be9000c4a4eb6bde6432e791a9425b93a653df312f4a1308d0a37bdd7720540
+MISC metadata.xml 350 SHA256 9927e595cd299a311a10578d63c7d37080aa8c71403c7e94910e4c0522583533 SHA512 efa583ffdf5131a7d9c22eff1d294c2bf831e6dc71c4ffe3a8f1e072fb6230959ec95ea807e1672a0ac8026b49ac88ac178849a1c61dee0e6723edac28366a2e WHIRLPOOL 5d7046cffa2e4dcf25b599e7e0448274c176bd146fe5b50ff5651f7c12e9034bfe546189f5ca58206fee76f31e702429f2065435942f1220ee4b36dea3df4f2c
diff --git a/sci-biology/prank/files/prank-140603-fix-c++14.patch b/sci-biology/prank/files/prank-140603-fix-c++14.patch
new file mode 100644
index 000000000000..5779207e294f
--- /dev/null
+++ b/sci-biology/prank/files/prank-140603-fix-c++14.patch
@@ -0,0 +1,14 @@
+Fix building with C++14, which errors out due to changing operator void* -> operator bool.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=594060
+
+--- a/hmmodel.cpp
++++ b/hmmodel.cpp
+@@ -1499,7 +1499,7 @@
+ }
+ else
+ {
+- cout<<"HMModel::alignmentModel: impossible 'as'"<<cout;
++ cout<<"HMModel::alignmentModel: impossible 'as'"<<bool(cout);
+ exit(-1);
+ }
+
diff --git a/sci-biology/prank/metadata.xml b/sci-biology/prank/metadata.xml
new file mode 100644
index 000000000000..8d1d75556076
--- /dev/null
+++ b/sci-biology/prank/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-biology@gentoo.org</email>
+ <name>Gentoo Biology Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">prank-msa</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-biology/prank/prank-140603.ebuild b/sci-biology/prank/prank-140603.ebuild
new file mode 100644
index 000000000000..a29e425f43bf
--- /dev/null
+++ b/sci-biology/prank/prank-140603.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Probabilistic Alignment Kit"
+HOMEPAGE="http://wasabiapp.org/software/prank/"
+SRC_URI="http://wasabiapp.org/download/${PN}/${PN}.source.${PV}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PN}-msa/src"
+PATCHES=( "${FILESDIR}/${PN}-140603-fix-c++14.patch" )
+
+src_prepare() {
+ sed \
+ -e "s/\$(LINK)/& \$(LDFLAGS)/" \
+ -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
+ -i Makefile || die
+ default
+}
+
+src_compile() {
+ emake \
+ LINK="$(tc-getCXX)" \
+ CXX="$(tc-getCXX)" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+}