diff options
author | Christian Burger <christian@krikkel.de> | 2013-09-29 14:07:33 +0100 |
---|---|---|
committer | Horea Christian <h.chr@mail.ru> | 2015-02-09 13:06:57 +0100 |
commit | e442f2b617c540c904ccbcc71928455d48791c48 (patch) | |
tree | f21a0c344274e1250fc62ae73afcfe35f5657624 /sci-biology/spm/spm-8.ebuild | |
parent | Removed rm call for .../src/ (diff) | |
download | sci-e442f2b617c540c904ccbcc71928455d48791c48.tar.gz sci-e442f2b617c540c904ccbcc71928455d48791c48.tar.bz2 sci-e442f2b617c540c904ccbcc71928455d48791c48.zip |
sci-biology/spm: switched order of RDEPEND and DEPEND; using SRC_URI
Diffstat (limited to 'sci-biology/spm/spm-8.ebuild')
-rw-r--r-- | sci-biology/spm/spm-8.ebuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sci-biology/spm/spm-8.ebuild b/sci-biology/spm/spm-8.ebuild index dd29362e7..cf179b14f 100644 --- a/sci-biology/spm/spm-8.ebuild +++ b/sci-biology/spm/spm-8.ebuild @@ -7,28 +7,23 @@ EAPI=5 DESCRIPTION="Analysis of brain imaging data sequences for Octave or Matlab" HOMEPAGE="http://www.fil.ion.ucl.ac.uk/spm/" URI_BASE="http://www.fil.ion.ucl.ac.uk/spm/download/restricted/idyll/" -SRC_URI="" # SRC_URI is left blank on live ebuild +SRC_URI="${URI_BASE}${PN}${PV}.zip" LICENSE="GPL-2+" SLOT="8" KEYWORDS="" -DEPEND="${RDEPEND} +RDEPEND=">=sci-mathematics/octave-3.6.4 " -RDEPEND=">=sci-mathematics/octave-3.6.4 +DEPEND="${RDEPEND} " -S=${WORKDIR}/${PN}${PV} -src_unpack() { - # We have to do this inside of here, since it's a live ebuild. :-( - wget "${URI_BASE}${PN}${PV}.zip" || die - unpack "./${PN}${PV}.zip" - echo "MEXOPTS += -v" >> src/Makefile.var - } +S=${WORKDIR}/${PN}${PV} src_prepare() { + echo "MEXOPTS += -v" >> src/Makefile.var emake -C src distclean PLATFORM=octave emake -C src toolbox-distclean PLATFORM=octave } @@ -43,4 +38,4 @@ src_install() { emake -C src -j1 toolbox-install PLATFORM=octave insinto $(octave-config --m-site-dir) doins -r "${S}"/*.m -}
\ No newline at end of file +} |