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