commit: 7a4c5e17a64afe18b4af992e6b2df279ecd9e7e6
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun May 14 11:49:02 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun May 14 11:49:02 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7a4c5e17
sci-biology/SPAdes: install the package directly using cmake
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sci-biology/SPAdes/SPAdes-3.10.1.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sci-biology/SPAdes/SPAdes-3.10.1.ebuild
b/sci-biology/SPAdes/SPAdes-3.10.1.ebuild
index 73050c1e4..de93157a4 100644
--- a/sci-biology/SPAdes/SPAdes-3.10.1.ebuild
+++ b/sci-biology/SPAdes/SPAdes-3.10.1.ebuild
@@ -68,12 +68,14 @@ src_prepare(){
}
src_compile(){
- # grr, it actually also installs the files into $DESTDIR but that is
purged before pkg_qmerge starts
- PREFIX="${D}"/usr ./spades_compile.sh || die
+ mkdir build_spades || die
+ cd build_spades || die
+ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="${ED}/usr" $*
"${S}/src" || die
}
src_install(){
- PREFIX="${ED}"/usr sh ./spades_install.sh || die
+ cd build_spades || die
+ emake install PREFIX="${ED}"/usr
# BUG: move *.py files to standard site-packages/ subdirectories
insinto /usr/share/"${PN}"
dodoc "${DISTDIR}"/${P}_*manual.html