commit:     0e022df74f7743c179892b2d68d693ac4031c880
Author:     Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Fri Feb  6 08:59:48 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb  6 08:59:48 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0e022df7

Amended bwa ebuild to remove base.eclass

---
 sci-biology/bwa/bwa-0.7.12.ebuild | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/sci-biology/bwa/bwa-0.7.12.ebuild 
b/sci-biology/bwa/bwa-0.7.12.ebuild
index 353c4bf..62488f3 100644
--- a/sci-biology/bwa/bwa-0.7.12.ebuild
+++ b/sci-biology/bwa/bwa-0.7.12.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit base toolchain-funcs
+inherit eutils toolchain-funcs
 
 DESCRIPTION="Burrows-Wheeler Alignment Tool, a fast short genomic sequence 
aligner"
 HOMEPAGE="http://bio-bwa.sourceforge.net/";
@@ -17,15 +17,18 @@ KEYWORDS="~amd64 ~x86 ~x64-macos"
 
 PATCHES=( "${FILESDIR}"/${PN}_Makefile.patch )
 
-src_compile() {
+src_prepare() {
+       epatch ${PATCHES[@]}
        tc-export CC AR
-       default
 }
 
 src_install() {
-       dobin bwa || die
-       doman bwa.1 || die
-       exeinto /usr/share/${PN}
-       doexe qualfa2fq.pl xa2multi.pl || die
-       dodoc NEWS.md README-alt.md README.md || die
+       dobin bwa
+
+       doman bwa.1
+
+       exeinto /usr/libexec/${PN}
+       doexe qualfa2fq.pl xa2multi.pl
+
+       dodoc NEWS.md README-alt.md README.md
 }

Reply via email to