summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-10-04 00:25:29 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-10-04 00:25:29 +0000
commit046573ed79cad7d450c6a92cb52c4024cf3d07c7 (patch)
tree5ab5ee90338e11cab89d269315ac21a0aa2939dd /sci-biology/arb
parentVersion bump. Set SUPPORT_PYTHON_ABIS. (diff)
downloadgentoo-2-046573ed79cad7d450c6a92cb52c4024cf3d07c7.tar.gz
gentoo-2-046573ed79cad7d450c6a92cb52c4024cf3d07c7.tar.bz2
gentoo-2-046573ed79cad7d450c6a92cb52c4024cf3d07c7.zip
Import from Science overlay and version bump
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/arb')
-rw-r--r--sci-biology/arb/ChangeLog10
-rw-r--r--sci-biology/arb/arb-5.1.ebuild66
-rw-r--r--sci-biology/arb/metadata.xml9
3 files changed, 85 insertions, 0 deletions
diff --git a/sci-biology/arb/ChangeLog b/sci-biology/arb/ChangeLog
new file mode 100644
index 000000000000..ec2f3bd7ce75
--- /dev/null
+++ b/sci-biology/arb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-biology/arb
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/arb/ChangeLog,v 1.1 2009/10/04 00:25:29 weaver Exp $
+
+*arb-5.1 (03 Oct 2009)
+
+ 03 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> +metadata.xml,
+ +arb-5.1.ebuild:
+ Import from Science overlay and version bump
+
diff --git a/sci-biology/arb/arb-5.1.ebuild b/sci-biology/arb/arb-5.1.ebuild
new file mode 100644
index 000000000000..21a12e1436c8
--- /dev/null
+++ b/sci-biology/arb/arb-5.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/arb/arb-5.1.ebuild,v 1.1 2009/10/04 00:25:29 weaver Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Tools for DNA/RNA sequence database handling and data analysis, phylogenetic analysis"
+HOMEPAGE="http://www.arb-home.de/"
+SRC_URI="http://download.arb-home.de/release/arb_${PV}/arbsrc.tgz -> ${P}.tgz"
+MY_TAG=6213
+
+LICENSE="arb"
+SLOT="0"
+IUSE="+opengl"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-text/sablotron
+ www-client/lynx
+ x11-libs/openmotif
+ x11-libs/libXpm
+ x11-libs/libXaw
+ media-libs/tiff
+ media-libs/libpng
+ opengl? ( media-libs/glew
+ virtual/glut
+ media-libs/mesa[motif] )"
+RDEPEND="${DEPEND}
+ sci-visualization/gnuplot"
+# Recommended: libmotif3 gv xfig xterm treetool java
+
+S="${WORKDIR}/arbsrc_${MY_TAG}"
+
+src_prepare() {
+ sed -i -e 's/getline/arb_getline/' READSEQ/ureadseq.c || die
+ sed -i \
+ -e 's/all: checks/all:/' \
+ -e "s/GCC:=.*/GCC=$(tc-getCC) ${CFLAGS}/" \
+ -e "s/GPP:=.*/GPP=$(tc-getCXX) ${CFLAGS}/" \
+ "${S}/Makefile" || die
+ cp config.makefile.template config.makefile
+ sed -i -e '/^[ \t]*read/ d' -e 's/SHELL_ANS=0/SHELL_ANS=1/' "${S}/arb_install.sh" || die
+ use amd64 && sed -i -e 's/ARB_64 := 0/ARB_64 := 1/' config.makefile
+ use opengl || sed -i -e 's/OPENGL := 1/OPENGL := 0/' config.makefile
+ emake ARBHOME="${S}" links || die
+ # In 5.0; fixed in 5.1
+ # (cd INCLUDE/GL; for i in ../../GL/glAW/*.h; do ln -s $i; done) || die
+}
+
+src_compile() {
+ emake ARBHOME="${S}" PATH="${PATH}:${S}/bin" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${S}/lib" tarfile || die
+ use amd64 && mv arb.tgz arb.64.gentoo.tgz
+ use x86 && mv arb.tgz arb.32.gentoo.tgz
+ ln -s arb.*.tgz arb.tgz || die
+}
+
+src_install() {
+ ARBHOME="${D}/opt/arb" "${S}/arb_install.sh" || die
+ cat <<EOF > "${S}/99${PN}"
+ARBHOME=/opt/arb
+PATH=/opt/arb/bin
+LD_LIBRARY_PATH=/opt/arb/lib
+EOF
+ doenvd "${S}/99${PN}" || die
+}
diff --git a/sci-biology/arb/metadata.xml b/sci-biology/arb/metadata.xml
new file mode 100644
index 000000000000..3302123e5718
--- /dev/null
+++ b/sci-biology/arb/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>