summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-10-02 21:47:11 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-10-02 21:47:11 +0000
commitd4b39f2622543c124c804df341a186a6477fd46e (patch)
tree1fa525649d90d2b1ea70fc72cbc6f27252812d94 /sci-biology/beast-mcmc
parentRevision bump with instructions for man-db and two compatibility symlinks. (diff)
downloadhistorical-d4b39f2622543c124c804df341a186a6477fd46e.tar.gz
historical-d4b39f2622543c124c804df341a186a6477fd46e.tar.bz2
historical-d4b39f2622543c124c804df341a186a6477fd46e.zip
Import from Science overlay and rewrite
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/beast-mcmc')
-rw-r--r--sci-biology/beast-mcmc/ChangeLog11
-rw-r--r--sci-biology/beast-mcmc/Manifest5
-rw-r--r--sci-biology/beast-mcmc/beast-mcmc-1.5.1.ebuild82
-rw-r--r--sci-biology/beast-mcmc/beast-mcmc-9999.ebuild81
-rw-r--r--sci-biology/beast-mcmc/metadata.xml9
5 files changed, 188 insertions, 0 deletions
diff --git a/sci-biology/beast-mcmc/ChangeLog b/sci-biology/beast-mcmc/ChangeLog
new file mode 100644
index 000000000000..7b23dc7a04bf
--- /dev/null
+++ b/sci-biology/beast-mcmc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-biology/beast-mcmc
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/ChangeLog,v 1.1 2009/10/02 21:47:11 weaver Exp $
+
+*beast-mcmc-9999 (02 Oct 2009)
+*beast-mcmc-1.5.1 (02 Oct 2009)
+
+ 02 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> +metadata.xml,
+ +beast-mcmc-1.5.1.ebuild, +beast-mcmc-9999.ebuild:
+ Import from Science overlay and rewrite
+
diff --git a/sci-biology/beast-mcmc/Manifest b/sci-biology/beast-mcmc/Manifest
new file mode 100644
index 000000000000..07f505cf123f
--- /dev/null
+++ b/sci-biology/beast-mcmc/Manifest
@@ -0,0 +1,5 @@
+DIST beast-mcmc-1.5.1.tar.bz2 32191300 RMD160 c9e9b5e5283e537a61c8656a093cb267dd2533dc SHA1 7750af1dcbfe65c949aabf5390ca36a6f45b3013 SHA256 f64bc0e6be372ef4ed7e3e287c99e5b9da2f7d961cd1c7eca9483ae70ab3ba5b
+EBUILD beast-mcmc-1.5.1.ebuild 2917 RMD160 54c28423917fde18e23a78309aa4efcd55c9039c SHA1 575f4d65ab003d0700e76082fbab90aa393ed393 SHA256 106b6f5e544b9faf284082c5eba261097d29e0782c826218fa1dee398fb81126
+EBUILD beast-mcmc-9999.ebuild 2867 RMD160 283b085590f4411076ba1907abbe6439a34ca280 SHA1 22dd641f3f07190708a343723cdab0da79e0e8a5 SHA256 f78c9fd53a1f41d68f5d45b25cc33d5f5e77d434289204d9798e800031c4731b
+MISC ChangeLog 442 RMD160 c4114950115bdbd7e4f7d0ea49e2f0128e231f12 SHA1 e08f87c0d27b88da7c5cc776c08beacad30ed819 SHA256 e05763bb2fbd8e9cd1d4fb21af7642efa5f4c5f3691fe3311ce18749797dd895
+MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110
diff --git a/sci-biology/beast-mcmc/beast-mcmc-1.5.1.ebuild b/sci-biology/beast-mcmc/beast-mcmc-1.5.1.ebuild
new file mode 100644
index 000000000000..cf908ae9abdc
--- /dev/null
+++ b/sci-biology/beast-mcmc/beast-mcmc-1.5.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/beast-mcmc-1.5.1.ebuild,v 1.1 2009/10/02 21:47:11 weaver Exp $
+
+EAPI="2"
+
+ESVN_REPO_URI="http://beast-mcmc.googlecode.com/svn/trunk/"
+
+WANT_ANT_TASKS="ant-junit4"
+EANT_GENTOO_CLASSPATH="colt,jdom-1.0,itext,junit-4,jebl,matrix-toolkits-java,commons-math-1,jdom-jaxen-1.0"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+JAVA_ANT_ENCODING="latin1"
+JAVA_PKG_BSFIX_NAME="build.xml build_BEAST_MCMC.xml build_coalsim.xml build_development.xml build_pathogen.xml build_release.xml build_treestat.xml build_vcs.xml"
+
+#inherit java-pkg-2 java-ant-2 eutils subversion
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Bayesian MCMC of Evolution & Phylogenetics using Molecular Sequences"
+HOMEPAGE="http://code.google.com/p/beast-mcmc/"
+#SRC_URI=""
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# TODO: sys-cluster/mpijava
+COMMON_DEPS="dev-java/colt:0
+ dev-java/jdom:1.0
+ dev-java/itext:0
+ dev-java/junit:4
+ dev-java/jebl:0
+ dev-java/matrix-toolkits-java
+ dev-java/commons-math:1
+ dev-java/jdom-jaxen:1.0"
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEPS}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPS}"
+
+S="${WORKDIR}/beast_release_${PV//./_}"
+
+src_prepare() {
+ sed -i '/BEAST_LIB/ s|$BEAST|/usr/share/beast|' "${S}"/scripts/* || die
+ cd lib
+ rm -v colt.jar junit-*.jar itext-*.jar jdom.jar jebl.jar mtj.jar commons-math-*.jar || die
+ java-pkg_jar-from jdom-1.0
+ java-pkg_jar-from colt
+ java-pkg_jar-from itext
+ java-pkg_jar-from jebl
+ java-pkg_jar-from matrix-toolkits-java
+ java-pkg_jar-from commons-math-1
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ eant dist_all_BEAST -f build_BEAST_MCMC.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+ eant dist -f build_pathogen.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+}
+
+src_install() {
+ java-pkg_dojar bin/dist/*.jar dist/*.jar
+
+ java-pkg_dolauncher beauti --jar beauti.jar --java_args '-Xms64m -Xmx256m'
+# java-pkg_dolauncher beauti --main dr.app.beauti.BeautiApp --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher beast --main dr.app.beast.BeastMain --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher loganalyser --main dr.app.tools.LogAnalyser --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher logcombiner --main dr.app.tools.LogCombiner --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher treeannotator --main dr.app.tools.TreeAnnotator --java_args '-Xms64m -Xmx256m'
+
+ insinto /usr/share/${PN}
+ doins -r examples || die
+ dodoc NOTIFY doc/*.pdf
+}
+
+src_test() {
+ eant junit -f build_BEAST_MCMC.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+}
diff --git a/sci-biology/beast-mcmc/beast-mcmc-9999.ebuild b/sci-biology/beast-mcmc/beast-mcmc-9999.ebuild
new file mode 100644
index 000000000000..098b991c00ee
--- /dev/null
+++ b/sci-biology/beast-mcmc/beast-mcmc-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/beast-mcmc/beast-mcmc-9999.ebuild,v 1.1 2009/10/02 21:47:11 weaver Exp $
+
+EAPI="2"
+
+ESVN_REPO_URI="http://beast-mcmc.googlecode.com/svn/trunk/"
+
+WANT_ANT_TASKS="ant-junit4"
+EANT_GENTOO_CLASSPATH="colt,jdom-1.0,itext,junit-4,jebl,matrix-toolkits-java,commons-math-1,jdom-jaxen-1.0"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+JAVA_ANT_ENCODING="latin1"
+JAVA_PKG_BSFIX_NAME="build.xml build_BEAST_MCMC.xml build_coalsim.xml build_development.xml build_pathogen.xml build_release.xml build_treestat.xml build_vcs.xml"
+
+inherit java-pkg-2 java-ant-2 eutils subversion
+
+DESCRIPTION="Bayesian MCMC of Evolution & Phylogenetics using Molecular Sequences"
+HOMEPAGE="http://code.google.com/p/beast-mcmc/"
+SRC_URI=""
+#SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+# TODO: sys-cluster/mpijava
+COMMON_DEPS="dev-java/colt:0
+ dev-java/jdom:1.0
+ dev-java/itext:0
+ dev-java/junit:4
+ dev-java/jebl:0
+ dev-java/matrix-toolkits-java
+ dev-java/commons-math:1
+ dev-java/jdom-jaxen:1.0"
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEPS}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPS}"
+
+S="${WORKDIR}/beast_release_${PV//./_}"
+
+src_prepare() {
+ sed -i '/BEAST_LIB/ s|$BEAST|/usr/share/beast|' "${S}"/scripts/* || die
+ cd lib
+ rm -v colt.jar junit-*.jar itext-*.jar jdom.jar jebl.jar mtj.jar commons-math-*.jar || die
+ java-pkg_jar-from jdom-1.0
+ java-pkg_jar-from colt
+ java-pkg_jar-from itext
+ java-pkg_jar-from jebl
+ java-pkg_jar-from matrix-toolkits-java
+ java-pkg_jar-from commons-math-1
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ eant dist_all_BEAST -f build_BEAST_MCMC.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+ eant dist -f build_pathogen.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+}
+
+src_install() {
+ java-pkg_dojar bin/dist/*.jar dist/*.jar
+
+ java-pkg_dolauncher beauti --jar beauti.jar --java_args '-Xms64m -Xmx256m'
+# java-pkg_dolauncher beauti --main dr.app.beauti.BeautiApp --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher beast --main dr.app.beast.BeastMain --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher loganalyser --main dr.app.tools.LogAnalyser --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher logcombiner --main dr.app.tools.LogCombiner --java_args '-Xms64m -Xmx256m'
+ java-pkg_dolauncher treeannotator --main dr.app.tools.TreeAnnotator --java_args '-Xms64m -Xmx256m'
+
+ insinto /usr/share/${PN}
+ doins -r examples || die
+ dodoc NOTIFY doc/*.pdf
+}
+
+src_test() {
+ eant junit -f build_BEAST_MCMC.xml \
+ -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(for i in lib/*.jar; do echo -n "$i:"; done) || die
+}
diff --git a/sci-biology/beast-mcmc/metadata.xml b/sci-biology/beast-mcmc/metadata.xml
new file mode 100644
index 000000000000..3302123e5718
--- /dev/null
+++ b/sci-biology/beast-mcmc/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>sci-biology</herd>
+</pkgmetadata>