1 |
commit: c0b5797205e836f50768f56bb706fc833e94b665 |
2 |
Author: Horea Christian <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Sun Sep 27 15:16:53 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 15:16:53 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c0b57972 |
7 |
|
8 |
new patched version from upstream |
9 |
|
10 |
sci-biology/spm/spm-12_p.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 34 insertions(+) |
12 |
|
13 |
diff --git a/sci-biology/spm/spm-12_p.ebuild b/sci-biology/spm/spm-12_p.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..27fbeaf |
16 |
--- /dev/null |
17 |
+++ b/sci-biology/spm/spm-12_p.ebuild |
18 |
@@ -0,0 +1,34 @@ |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+ |
25 |
+DESCRIPTION="Analysis of brain imaging data sequences for Octave or Matlab" |
26 |
+HOMEPAGE="http://www.fil.ion.ucl.ac.uk/spm/" |
27 |
+SRC_URI="http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/${PN}${PV}.zip" |
28 |
+ |
29 |
+LICENSE="GPL-2+" |
30 |
+SLOT="0" |
31 |
+KEYWORDS="~amd64" |
32 |
+ |
33 |
+RDEPEND=">=sci-mathematics/octave-3.8" |
34 |
+DEPEND="${RDEPEND} |
35 |
+ app-arch/unzip |
36 |
+" |
37 |
+ |
38 |
+S="${WORKDIR}/${PN}${PV}/src" |
39 |
+ |
40 |
+src_prepare() { |
41 |
+ emake distclean PLATFORM=octave |
42 |
+} |
43 |
+ |
44 |
+src_compile() { |
45 |
+ emake -j1 PLATFORM=octave |
46 |
+} |
47 |
+ |
48 |
+src_install() { |
49 |
+ emake install PLATFORM=octave |
50 |
+ insinto "$(octave-config --m-site-dir)/${P}" |
51 |
+ doins -r "${WORKDIR}/${PN}${PV}"/* |
52 |
+} |