commit:     0b7f4bf5b3512c1ee1107bb8d76b962c69e0a1b9
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Mar 21 01:14:26 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Mar 21 01:14:26 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0b7f4bf5

sci-biology/KaKs_Calculator: new package but code does not compile; awaiting 
some answer from upstream http://cbb.big.ac.cn/Zhang_Zhang

Package-Manager: portage-2.2.15

 sci-biology/KaKs_Calculator/ChangeLog              | 10 ++++++
 .../KaKs_Calculator/KaKs_Calculator-1.2.ebuild     | 38 ++++++++++++++++++++++
 sci-biology/KaKs_Calculator/metadata.xml           |  9 +++++
 3 files changed, 57 insertions(+)

diff --git a/sci-biology/KaKs_Calculator/ChangeLog 
b/sci-biology/KaKs_Calculator/ChangeLog
new file mode 100644
index 0000000..2a3e92f
--- /dev/null
+++ b/sci-biology/KaKs_Calculator/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-biology/KaKs_Calculator
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*KaKs_Calculator-1.2 (21 Mar 2015)
+
+  21 Mar 2015; Martin Mokrejs <[email protected]>
+  +KaKs_Calculator-1.2.ebuild, +metadata.xml:
+  sci-biology/KaKs_Calculator: new package but code does not compile; awaiting
+  some answer from upstream http://cbb.big.ac.cn/Zhang_Zhang

diff --git a/sci-biology/KaKs_Calculator/KaKs_Calculator-1.2.ebuild 
b/sci-biology/KaKs_Calculator/KaKs_Calculator-1.2.ebuild
new file mode 100644
index 0000000..5d9bb67
--- /dev/null
+++ b/sci-biology/KaKs_Calculator/KaKs_Calculator-1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Calculate nonsynonymous (Ka) and synonymous (Ks) substitution 
rates"
+HOMEPAGE="https://code.google.com/p/kaks-calculator";
+SRC_URI="https://kaks-calculator.googlecode.com/files/KaKs_Calculator"${PV}".tar.gz
+       https://kaks-calculator.googlecode.com/files/parseFastaIntoAXT.pl";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="sci-biology/ParaAT"
+RDEPEND="
+       dev-lang/perl
+       ${DEPEND}"
+
+S="${WORKDIR}"/KaKs_Calculator"${PV}"
+
+src_prepare(){
+       sed -e "s/^CC = g++/CC="$(tc-getCXX)"/; s/^CFLAGS/#CFLAGS/" -i 
src/makefile
+}
+
+src_compile(){
+       cd src || die
+       emake
+}
+
+src_install(){
+       dobin "${DISTDIR}"/parseFastaIntoAXT.pl
+       dobin src/{KaKs_Calculator,AXTConvertor,ConPairs}
+}

diff --git a/sci-biology/KaKs_Calculator/metadata.xml 
b/sci-biology/KaKs_Calculator/metadata.xml
new file mode 100644
index 0000000..2bc8930
--- /dev/null
+++ b/sci-biology/KaKs_Calculator/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>sci-biology</herd>
+  <maintainer>
+    <email>[email protected]</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to