1 |
commit: 8f61c35b108346b7007c6a766435f9528fe89253 |
2 |
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Oct 25 18:31:45 2018 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Oct 26 13:23:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8f61c35b |
7 |
|
8 |
sci-biology/spm: bump to version 12_p7219 |
9 |
|
10 |
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com> |
13 |
|
14 |
sci-biology/spm/spm-12_p7219.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 36 insertions(+) |
16 |
|
17 |
diff --git a/sci-biology/spm/spm-12_p7219.ebuild b/sci-biology/spm/spm-12_p7219.ebuild |
18 |
new file mode 100644 |
19 |
index 000000000..1e8d15bbe |
20 |
--- /dev/null |
21 |
+++ b/sci-biology/spm/spm-12_p7219.ebuild |
22 |
@@ -0,0 +1,36 @@ |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+MY_PV_MAJ=$(ver_cut 1) |
29 |
+MY_PV_REL=$(ver_cut 3) |
30 |
+DESCRIPTION="Analysis of brain imaging data sequences for Octave or Matlab" |
31 |
+HOMEPAGE="http://www.fil.ion.ucl.ac.uk/spm/" |
32 |
+SRC_URI="https://github.com/${PN}/${PN}${MY_PV_MAJ}/archive/r${MY_PV_REL}.tar.gz -> ${P}.tar.gz" |
33 |
+LICENSE="GPL-2+" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64" |
36 |
+ |
37 |
+RDEPEND=">=sci-mathematics/octave-3.8" |
38 |
+DEPEND="${RDEPEND} |
39 |
+ app-arch/unzip |
40 |
+" |
41 |
+ |
42 |
+MY_PN="${PN}${MY_PV_MAJ}-r${MY_PV_REL}" |
43 |
+S="${WORKDIR}/${MY_PN}/src" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ emake distclean PLATFORM=octave |
48 |
+} |
49 |
+ |
50 |
+src_compile() { |
51 |
+ emake PLATFORM=octave |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ emake install PLATFORM=octave |
56 |
+ insinto "$(octave-config --m-site-dir)/${P}" |
57 |
+ doins -r "${WORKDIR}/${MY_PN}"/* |
58 |
+} |