commit:     93d686395d6a556c97581052653842280e0b6165
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 19:44:11 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 19:44:11 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=93d68639

sci-biology/cdbfasta: Bump EAPI to 5

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-biology/cdbfasta/cdbfasta-0.1.ebuild | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/sci-biology/cdbfasta/cdbfasta-0.1.ebuild 
b/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
index 05313b2..06cc243 100644
--- a/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
+++ b/sci-biology/cdbfasta/cdbfasta-0.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
+EAPI=5
 
-DESCRIPTION="A FASTA record indexing/retrievieng utility, a part of TIGR Gene 
Indices project tools"
+DESCRIPTION="FASTA record indexing/retrievieng utility, a part of TIGR Gene 
Indices project tools"
 HOMEPAGE="http://compbio.dfci.harvard.edu/tgi/software";
 
SRC_URI="ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/cdbfasta/cdbfasta.tar.gz";
 
@@ -13,23 +13,17 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 S=${WORKDIR}/${PN}
 
-src_unpack() {
-       unpack cdbfasta.tar.gz
-}
-
-src_compile() {
-       sed -i 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT 
\${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' "${S}"/Makefile || die "Failed to patch 
Makefile"
+src_prepare() {
+       sed \
+               -e 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT 
\${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' \
+               -i "${S}"/Makefile || die "Failed to patch Makefile"
        sed -i 's/-march=i686//' "${S}"/Makefile || die
        sed -i 's/-O2 //' "${S}"/Makefile || die
-       emake || die "emake failed"
 }
 
 src_install() {
-       dobin {cdbfasta,cdbyank} || die "Failed to install binaries"
-       newdoc README README.${PN} || die
+       dobin {cdbfasta,cdbyank}
+       newdoc README README.${PN}
 }

Reply via email to