commit: c0b5797205e836f50768f56bb706fc833e94b665 Author: Horea Christian <h.chr <AT> mail <DOT> ru> AuthorDate: Sun Sep 27 15:16:53 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Sep 27 15:16:53 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c0b57972
new patched version from upstream sci-biology/spm/spm-12_p.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/sci-biology/spm/spm-12_p.ebuild b/sci-biology/spm/spm-12_p.ebuild new file mode 100644 index 0000000..27fbeaf --- /dev/null +++ b/sci-biology/spm/spm-12_p.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Analysis of brain imaging data sequences for Octave or Matlab" +HOMEPAGE="http://www.fil.ion.ucl.ac.uk/spm/" +SRC_URI="http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/${PN}${PV}.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=sci-mathematics/octave-3.8" +DEPEND="${RDEPEND} + app-arch/unzip +" + +S="${WORKDIR}/${PN}${PV}/src" + +src_prepare() { + emake distclean PLATFORM=octave +} + +src_compile() { + emake -j1 PLATFORM=octave +} + +src_install() { + emake install PLATFORM=octave + insinto "$(octave-config --m-site-dir)/${P}" + doins -r "${WORKDIR}/${PN}${PV}"/* +}
