aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2017-02-18 16:06:59 +0100
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2017-02-18 16:06:59 +0100
commit6df94ed0a73b56dd7bd9a6a33be3d0b881010deb (patch)
tree17c42b56500e739ad4c8f085c17341823fbff238 /sci-biology
parentsci-biology/idba: respect EPREFIX (diff)
downloadsci-6df94ed0a73b56dd7bd9a6a33be3d0b881010deb.tar.gz
sci-6df94ed0a73b56dd7bd9a6a33be3d0b881010deb.tar.bz2
sci-6df94ed0a73b56dd7bd9a6a33be3d0b881010deb.zip
sci-biology/idba: respect EPREFIX v2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/idba/idba-1.1.1.ebuild3
-rw-r--r--sci-biology/idba/idba-9999.ebuild2
2 files changed, 3 insertions, 2 deletions
diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
index e0e3b676a..23196fc60 100644
--- a/sci-biology/idba/idba-1.1.1.ebuild
+++ b/sci-biology/idba/idba-1.1.1.ebuild
@@ -45,7 +45,8 @@ src_compile(){
src_install(){
default
- # https://github.com/loneknightpy/idba/issues/23
+ mkdir -p "${ED}"/usr/bin || die
+ mv "${D}"/usr/local/bin/* "${ED}"/usr/bin/ || die "Move to EPREFIX-compliant place"
rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
dobin bin/* # https://github.com/loneknightpy/idba/issues/23
diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
index d0a048611..60e29d23c 100644
--- a/sci-biology/idba/idba-9999.ebuild
+++ b/sci-biology/idba/idba-9999.ebuild
@@ -46,7 +46,7 @@ src_install(){
default
# https://github.com/loneknightpy/idba/issues/23
mkdir -p "${ED}"/usr/bin || die
- mv "${ED}"/usr/local/bin/* "${ED}"/usr/bin/ || die
+ mv "${D}"/usr/local/bin/* "${ED}"/usr/bin/ || die "Move to EPREFIX-compliant place"
rm "${ED}"/usr/bin/scan.py "${ED}"/usr/bin/run-unittest.py || die
rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
dobin bin/* # https://github.com/loneknightpy/idba/issues/23