summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-16 12:35:33 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-16 12:35:33 +0000
commitd12ec7d9cb4c604263d3b0bb6a2cdeab74c2c8f5 (patch)
treecb3ccb945810819c6457b3e4d26598351b62ef8c /sci-biology
parentStable for AMD64, wrt bug #394061 (diff)
downloadgentoo-2-d12ec7d9cb4c604263d3b0bb6a2cdeab74c2c8f5.tar.gz
gentoo-2-d12ec7d9cb4c604263d3b0bb6a2cdeab74c2c8f5.tar.bz2
gentoo-2-d12ec7d9cb4c604263d3b0bb6a2cdeab74c2c8f5.zip
Handle static-libs
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/vienna-rna/ChangeLog5
-rw-r--r--sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/sci-biology/vienna-rna/ChangeLog b/sci-biology/vienna-rna/ChangeLog
index bf8e0730cc74..4c681d60009f 100644
--- a/sci-biology/vienna-rna/ChangeLog
+++ b/sci-biology/vienna-rna/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-biology/vienna-rna
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.38 2011/06/28 20:25:48 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.39 2011/12/16 12:35:33 jlec Exp $
+
+ 16 Dec 2011; Justin Lecher <jlec@gentoo.org> vienna-rna-1.8.5.ebuild:
+ Handle static-libs
28 Jun 2011; Brent Baude <ranger@gentoo.org> vienna-rna-1.8.4-r1.ebuild:
Marking vienna-rna-1.8.4-r1 ppc for bug 325459
diff --git a/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild b/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild
index c35237931503..75ffde55a390 100644
--- a/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild
+++ b/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2011 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.8.5.ebuild,v 1.3 2011/05/03 11:10:40 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild,v 1.4 2011/12/16 12:35:33 jlec Exp $
EAPI="3"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
-inherit distutils toolchain-funcs multilib autotools perl-module
+inherit autotools distutils multilib perl-module toolchain-funcs
DESCRIPTION="RNA secondary structure prediction and comparison"
HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA/"
@@ -15,7 +15,7 @@ SRC_URI="http://www.tbi.univie.ac.at/~ivo/RNA/ViennaRNA-${PV}.tar.gz"
LICENSE="vienna-rna"
SLOT="0"
-IUSE="python"
+IUSE="python static-libs"
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="
@@ -78,6 +78,11 @@ src_test() {
src_install() {
emake DESTDIR="${D}" install || die
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/*.a || die
+ fi
+
dodoc AUTHORS ChangeLog NEWS README THANKS || die
newbin Readseq/readseq readseq-vienna || die
dodoc Readseq/Readseq.help || die