summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-05-01 13:13:57 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-05-01 13:13:57 +0000
commitfac2d7525927a5cdea05398821540cd26c865391 (patch)
treedcecfd13bbb5128fa3d8a1d6ee4bf0c271da0559 /sci-biology/vienna-rna
parentFix building with gcc-4.3 (diff)
downloadgentoo-2-fac2d7525927a5cdea05398821540cd26c865391.tar.gz
gentoo-2-fac2d7525927a5cdea05398821540cd26c865391.tar.bz2
gentoo-2-fac2d7525927a5cdea05398821540cd26c865391.zip
Version bump.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'sci-biology/vienna-rna')
-rw-r--r--sci-biology/vienna-rna/ChangeLog10
-rw-r--r--sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild55
2 files changed, 63 insertions, 2 deletions
diff --git a/sci-biology/vienna-rna/ChangeLog b/sci-biology/vienna-rna/ChangeLog
index 167fc9e2791d..d68bf4a80d64 100644
--- a/sci-biology/vienna-rna/ChangeLog
+++ b/sci-biology/vienna-rna/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/vienna-rna
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.14 2007/11/24 15:10:04 markusle Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.15 2008/05/01 13:13:57 markusle Exp $
+
+*vienna-rna-1.7.0 (01 May 2008)
+
+ 01 May 2008; Markus Dittrich <markusle@gentoo.org>
+ +vienna-rna-1.7.0.ebuild:
+ Version bump.
*vienna-rna-1.6.5 (24 Nov 2007)
diff --git a/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild b/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild
new file mode 100644
index 000000000000..98d5be613dc1
--- /dev/null
+++ b/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.7.0.ebuild,v 1.1 2008/05/01 13:13:57 markusle Exp $
+
+inherit toolchain-funcs multilib eutils versionator
+
+MY_PV=$(get_version_component_range 1-2)
+
+DESCRIPTION="The Vienna RNA Package - RNA secondary structure prediction and comparison"
+LICENSE="vienna-rna"
+HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA"
+SRC_URI="http://www.tbi.univie.ac.at/~ivo/RNA/ViennaRNA-${MY_PV}.tar.gz"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~ppc"
+
+DEPEND="dev-lang/perl
+ media-libs/gd"
+
+S="${WORKDIR}/ViennaRNA-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.6.5-c-fixes.patch
+}
+
+src_compile() {
+ econf --with-cluster || die "Configuration failed."
+ sed -e "s:LIBDIR = /usr/lib:LIBDIR = ${D}/usr/$(get_libdir):" \
+ -e "s:INCDIR = /usr/include:INCDIR = ${D}/usr/include:" \
+ -i RNAforester/g2-0.70/Makefile \
+ || die "Failed patching RNAForester build system."
+ emake || die "Compilation failed."
+
+ cd "${S}"/Readseq
+ sed -e "s:CC=cc:CC=$(tc-getCC):" -e "s:CFLAGS=:CFLAGS=${CFLAGS}:" \
+ -i Makefile || die "Failed patching readseq Makefile."
+ make || die "Failed to compile readseq."
+ # TODO: Add (optional?) support for the NCBI toolkit.
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "Installation failed."
+ dodoc AUTHORS ChangeLog NEWS README THANKS \
+ || die "Failed to install documentation."
+ newbin Readseq/readseq readseq-vienna \
+ || die "Installing readseq failed."
+ dodoc Readseq/Readseq.help || die \
+ "Readseq Documentation installation failed."
+ newdoc Readseq/Readme README.readseq && \
+ newdoc Readseq/Formats Formats.readseq \
+ || die "Installing readseq Readme failed."
+}