aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Tanberry <ted.tanberry@gmail.com>2015-02-06 09:59:48 +0100
committerTed Tanberry <ted.tanberry@gmail.com>2015-02-06 09:59:48 +0100
commit0e022df74f7743c179892b2d68d693ac4031c880 (patch)
tree5fef833e14fe3675aba8903dd4ed876ece51a28d /sci-biology/bwa
parentUpdated bwa to 0.7.12 and modernized the build system. Removed hard-coded ar. (diff)
downloadsci-0e022df74f7743c179892b2d68d693ac4031c880.tar.gz
sci-0e022df74f7743c179892b2d68d693ac4031c880.tar.bz2
sci-0e022df74f7743c179892b2d68d693ac4031c880.zip
Amended bwa ebuild to remove base.eclass
Diffstat (limited to 'sci-biology/bwa')
-rw-r--r--sci-biology/bwa/bwa-0.7.12.ebuild19
1 files 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 353c4bf93..62488f328 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
}