From d12ec7d9cb4c604263d3b0bb6a2cdeab74c2c8f5 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 16 Dec 2011 12:35:33 +0000 Subject: Handle static-libs (Portage version: 2.2.0_alpha81/cvs/Linux x86_64) --- sci-biology/vienna-rna/ChangeLog | 5 ++++- sci-biology/vienna-rna/vienna-rna-1.8.5.ebuild | 11 ++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'sci-biology') 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 vienna-rna-1.8.5.ebuild: + Handle static-libs 28 Jun 2011; Brent Baude 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 -- cgit v1.2.3-65-gdbad