1 |
commit: 50c01592d588fb2dadc5e4ca17aefc2943cb9f96 |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Thu Jun 30 18:06:03 2016 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Thu Jun 30 18:06:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=50c01592 |
7 |
|
8 |
sci-biology/Atlas: fix Makefiles at least, will need to unbundle some gzstream library too |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sci-biology/Atlas/Atlas-2005.ebuild | 14 ++++++++++---- |
13 |
1 file changed, 10 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/sci-biology/Atlas/Atlas-2005.ebuild b/sci-biology/Atlas/Atlas-2005.ebuild |
16 |
index c95df06..4806d1c 100644 |
17 |
--- a/sci-biology/Atlas/Atlas-2005.ebuild |
18 |
+++ b/sci-biology/Atlas/Atlas-2005.ebuild |
19 |
@@ -4,6 +4,8 @@ |
20 |
|
21 |
EAPI=5 |
22 |
|
23 |
+inherit toolchain-funcs |
24 |
+ |
25 |
DESCRIPTION="Atlas Whole Genome Assembly Suite" |
26 |
HOMEPAGE="https://www.hgsc.bcm.edu/software/atlas-whole-genome-assembly-suite" |
27 |
SRC_URI="https://www.hgsc.bcm.edu/sites/default/files/software/Atlas/atlas-src.tgz" |
28 |
@@ -17,12 +19,16 @@ IUSE="" |
29 |
DEPEND="dev-libs/boost" |
30 |
RDEPEND="${DEPEND}" |
31 |
|
32 |
-S="${WORKDIR}"/atlas-src |
33 |
+S="${WORKDIR}"/atlas-src/CBT |
34 |
+ |
35 |
+src_prepare(){ |
36 |
+ sed -e "s/^CC =/CC = $(tc-getCC)/" -e "s/^GCC =/GCC = $(tc-getCXX)/" -i Makefile || die |
37 |
+ sed -e "s/^GCC =/GCC = $(tc-getCXX)/" -i ../CBTApps/Makefile.in || die |
38 |
+} |
39 |
|
40 |
src_compile(){ |
41 |
# install headers, bins and libs into CBT_DEVEL_USER, then compile apps |
42 |
- cd src || die |
43 |
- emake CBT_DEVEL_DIR="${S}"/CBT CBT_INSTALL_DIR="${D}" |
44 |
+ emake CBT_DEVEL_DIR="${S}" CBT_INSTALL_DIR="${D}" |
45 |
cd ../CBTApps || die |
46 |
- emake CBT_DEVEL_DIR="${S}"/CBT CBT_INSTALL_DIR="${D}" |
47 |
+ emake CBT_DEVEL_DIR="${S}" CBT_INSTALL_DIR="${D}" |
48 |
} |