diff options
-rw-r--r-- | sci-biology/exonerate/ChangeLog | 8 | ||||
-rw-r--r-- | sci-biology/exonerate/exonerate-2.2.0-r1.ebuild | 32 | ||||
-rw-r--r-- | sci-biology/exonerate/metadata.xml | 19 |
3 files changed, 35 insertions, 24 deletions
diff --git a/sci-biology/exonerate/ChangeLog b/sci-biology/exonerate/ChangeLog index fd8e112282a1..95aebedcaaec 100644 --- a/sci-biology/exonerate/ChangeLog +++ b/sci-biology/exonerate/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-biology/exonerate -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/ChangeLog,v 1.5 2011/12/13 14:56:55 jlec Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/ChangeLog,v 1.6 2013/01/25 16:24:50 jlec Exp $ + + 25 Jan 2013; Justin Lecher <jlec@gentoo.org> exonerate-2.2.0-r1.ebuild, + metadata.xml: + We need USE=utils for testing, #453978; move to autotool-utils.eclass 13 Dec 2011; Justin Lecher <jlec@gentoo.org> exonerate-2.2.0-r1.ebuild: Respect CFLAGS and CC, #394545 diff --git a/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild b/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild index 3262b1dc3ea1..715e85367658 100644 --- a/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild +++ b/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild,v 1.4 2011/12/13 14:56:55 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/exonerate/exonerate-2.2.0-r1.ebuild,v 1.5 2013/01/25 16:24:50 jlec Exp $ EAPI=4 -inherit autotools eutils toolchain-funcs +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils toolchain-funcs DESCRIPTION="Generic tool for pairwise sequence comparison" HOMEPAGE="http://www.ebi.ac.uk/~guy/exonerate/" @@ -13,30 +15,36 @@ SRC_URI="http://www.ebi.ac.uk/~guy/exonerate/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos" -IUSE="utils threads" +IUSE="utils test threads" + +REQUIRED_USE="test? ( utils )" DEPEND="dev-libs/glib:2" RDEPEND="${DEPEND}" +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PATCHES=( "${FILESDIR}"/${P}-asneeded.patch ) + src_prepare() { tc-export CC sed \ -e 's: -O3 -finline-functions::g' \ -i configure.in || die - epatch "${FILESDIR}"/${P}-asneeded.patch - eautoreconf + autotools-utils_src_prepare } src_configure() { - econf \ - $(use_enable utils utilities) \ - $(use_enable threads pthreads) \ - --enable-largefile \ + local myeconfargs=( + $(use_enable utils utilities) + $(use_enable threads pthreads) + --enable-largefile --enable-glib2 + ) + autotools-utils_src_configure } src_install() { - emake DESTDIR="${D}" install || die "Install failed" + autotools-utils_src_install doman doc/man/man1/*.1 - dodoc README TODO NEWS AUTHORS ChangeLog || die } diff --git a/sci-biology/exonerate/metadata.xml b/sci-biology/exonerate/metadata.xml index 386684adda49..711d805d77e7 100644 --- a/sci-biology/exonerate/metadata.xml +++ b/sci-biology/exonerate/metadata.xml @@ -1,16 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-biology</herd> - <maintainer> - <email>je_fro@gentoo.org</email> - <name>Jeff Gardner</name> - </maintainer> - <longdescription lang="en"> + <herd>sci-biology</herd> + <maintainer> + <email>je_fro@gentoo.org</email> + <name>Jeff Gardner</name> + </maintainer> + <longdescription lang="en"> exonerate is a generic tool for pairwise sequence comparison </longdescription> - <use> - <flag name='utils'>Install all utilities</flag> - </use> + <use> + <flag name="utils">Install all utilities</flag> + </use> </pkgmetadata> - |