diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-01-07 12:25:04 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-01-07 12:25:04 +0000 |
commit | 5892c58809437f83df3298faeacf9161f126672f (patch) | |
tree | c92cd02b522dafeabb7cea227dbde3513a75fd5a /sci-biology/snpfile | |
parent | Stable for AMD64, wrt bug #397727 (diff) | |
download | gentoo-2-5892c58809437f83df3298faeacf9161f126672f.tar.gz gentoo-2-5892c58809437f83df3298faeacf9161f126672f.tar.bz2 gentoo-2-5892c58809437f83df3298faeacf9161f126672f.zip |
Remove .la file if not static-libs
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/snpfile')
-rw-r--r-- | sci-biology/snpfile/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/snpfile/snpfile-2.0.1-r1.ebuild | 15 |
2 files changed, 15 insertions, 7 deletions
diff --git a/sci-biology/snpfile/ChangeLog b/sci-biology/snpfile/ChangeLog index 6ea82f568758..e3ad0c2755fb 100644 --- a/sci-biology/snpfile/ChangeLog +++ b/sci-biology/snpfile/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-biology/snpfile -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/ChangeLog,v 1.7 2011/05/28 10:58:46 jlec Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/ChangeLog,v 1.8 2012/01/07 12:25:04 xarthisius Exp $ + + 07 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> snpfile-2.0.1-r1.ebuild: + Remove .la file if not static-libs 28 May 2011; Justin Lecher <jlec@gentoo.org> snpfile-2.0.1-r1.ebuild, +files/snpfile-2.0.1-gold.patch: diff --git a/sci-biology/snpfile/snpfile-2.0.1-r1.ebuild b/sci-biology/snpfile/snpfile-2.0.1-r1.ebuild index 341e937a757b..47f0f0934dc1 100644 --- a/sci-biology/snpfile/snpfile-2.0.1-r1.ebuild +++ b/sci-biology/snpfile/snpfile-2.0.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/snpfile-2.0.1-r1.ebuild,v 1.2 2011/05/28 10:58:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/snpfile-2.0.1-r1.ebuild,v 1.3 2012/01/07 12:25:04 xarthisius Exp $ EAPI=4 -inherit autotools eutils +inherit autotools eutils multilib DESCRIPTION="A library and API for manipulating large SNP datasets" HOMEPAGE="http://www.birc.au.dk/~mailund/SNPFile/" @@ -15,8 +15,8 @@ SLOT="0" IUSE="static-libs" KEYWORDS="~amd64 ~x86" -RDEPEND="dev-libs/boost" -DEPEND="${RDEPEND}" +DEPEND="dev-libs/boost" +RDEPEND="${DEPEND}" src_prepare() { epatch \ @@ -29,3 +29,8 @@ src_prepare() { src_configure() { econf $(use_enable static-libs static) } + +src_install() { + default + use static-libs || rm "${D}"/usr/$(get_libdir)/lib${PN}.la +} |