commit: 5fb831e8c3bcf4b192b96dcf018a558a86bd1581 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Wed Dec 7 10:14:58 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Wed Dec 7 10:14:58 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5fb831e8
sci-biology/SnpEff: fix installation on PREFIX Package-Manager: portage-2.3.2 sci-biology/SnpEff/SnpEff-4.3g.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sci-biology/SnpEff/SnpEff-4.3g.ebuild b/sci-biology/SnpEff/SnpEff-4.3g.ebuild index f817588..fb11894 100644 --- a/sci-biology/SnpEff/SnpEff-4.3g.ebuild +++ b/sci-biology/SnpEff/SnpEff-4.3g.ebuild @@ -36,22 +36,22 @@ S="${WORKDIR}" src_install(){ cd .. || die - mkdir -p "${D}"/usr/share || die + mkdir -p "${ED}"/usr/share || die # but portage does not install the .* files and subdirs, grr! unzip \ - "${DISTDIR}"/snpEff_v"${MY_PV}"_core.zip -d "${D}"/usr/share \ + "${DISTDIR}"/snpEff_v"${MY_PV}"_core.zip -d "${ED}"/usr/share \ || die "failed to unzip ${DISTDIR}/snpEff_v${MY_PV}_core.zip" sed \ - -e 's#$HOME/tools/picard/#/usr/share/picard/lib/#' \ + -e "s#$HOME/tools/picard/#${ED}/usr/share/picard/lib/#" \ -i "${ED}"/usr/share/snpEff/scripts/annotate_demo_GATK.sh || die sed \ - -e 's#$HOME/tools/gatk/#/usr/share/gatk/lib/#' \ + -e "s#$HOME/tools/gatk/#${ED}/usr/share/gatk/lib/#" \ -i "${ED}"/usr/share/snpEff/scripts/annotate_demo_GATK.sh || die sed \ - -e 's#$HOME/snpEff/#/usr/share/snpEff/#' \ + -e "s#$HOME/snpEff/#${ED}/usr/share/snpEff/#" \ -i "${ED}"/usr/share/snpEff/scripts/annotate_demo_GATK.sh || die sed \ - -e 's#$HOME/snpEff/snpEff.config#/usr/share/snpEff/snpEff.config#' \ + -e "s#$HOME/snpEff/snpEff.config#${ED}/usr/share/snpEff/snpEff.config#" \ -i "${ED}"/usr/share/snpEff/scripts/annotate_demo_GATK.sh || die }