commit:     714bc8ed8dcefc986f5ad0e506b1859430627258
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 07:50:38 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 07:50:38 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=714bc8ed

sci-biology/psx: Bump to EAPI=5

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

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

diff --git a/sci-biology/psx/psx-0.1.ebuild b/sci-biology/psx/psx-0.1.ebuild
index ecac153..0c78b3a 100644
--- a/sci-biology/psx/psx-0.1.ebuild
+++ b/sci-biology/psx/psx-0.1.ebuild
@@ -1,8 +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
+
+inherit toolchain-funcs
 
 DESCRIPTION="parallel multi-FASTA file processing tool from TIGR Gene Indices 
project tools"
 HOMEPAGE="http://compbio.dfci.harvard.edu/tgi/software/";
@@ -13,24 +15,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 S=${WORKDIR}
 
-src_unpack(){
-       mkdir ${PN} || die
-       cd ${PN} || die "Failed to chdir"
-       unpack ${PN}.tar.gz || die
-}
-
 src_compile() {
-       cd ${PN} || die
-       emake || die "emake failed in "${S}"/${PN}"
+       emake \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS}" \
+               LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {
-       cd ${PN} || die
-       dobin ${PN} || die "Failed to install ${PN} binary"
+       dobin ${PN}
        newdoc README README.${PN}
 }

Reply via email to