diff --git a/build.sh b/build.sh index 231b9cab35100c05c4883ce921d2384d66495b05..415432fbf3eabce6202864e1a8ad4693102ca2ee 100644 --- a/build.sh +++ b/build.sh @@ -3,7 +3,9 @@ export FSLDIR=$PREFIX export FSLDEVDIR=$PREFIX -. $FSLDIR/etc/fslconf/fsl.sh +mkdir -p $PREFIX/src/ +cp -r $(pwd) $PREFIX/src/$PKG_NAME + . $FSLDIR/etc/fslconf/fsl-devel.sh make diff --git a/meta.yaml b/meta.yaml index ce731920e7befafb0d66acb973f072200e889514..e4f66303b7130d1694990a7f484f74ce14a8fc6f 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,10 +1,11 @@ # This is a FSL conda recipe for: fsl-slicetimer -# The project git repository is: git@git.fmrib.ox.ac.uk:fsl/slicetimer.git -# The git repository for this conda recipe is: git@git.fmrib.ox.ac.uk:fsl/conda/fsl-slicetimer.git +# The project git repository is: https://git.fmrib.ox.ac.uk/fsl/slicetimer.git +# The git repository for this conda recipe is: https://git.fmrib.ox.ac.uk/fsl/conda/fsl-slicetimer.git {% set name = 'fsl-slicetimer' %} -{% set version = '2006.0' %} -{% set repository = 'git@git.fmrib.ox.ac.uk:fsl/slicetimer.git' %} +{% set version = '2012.0' %} +{% set repository = 'https://git.fmrib.ox.ac.uk/fsl/slicetimer.git' %} +{% set build = '0' %} package: name: {{ name }} @@ -14,22 +15,23 @@ source: # the FSLCONDA_REPOSITORY and FSLCONDA_REVISION # environment variables can be used to override # the repository/revision for development purposes. - git_url: {{ os.environ.get("FSLCONDA_REPOSITORY", repository) }} - git_rev: {{ os.environ.get("FSLCONDA_REVISION", version) }} - git_depth: 1 + git_url: {{ os.environ.get("FSLCONDA_REPOSITORY", repository) }} + git_rev: {{ os.environ.get("FSLCONDA_REVISION", version) }} build: + number: {{ build }} run_exports: strong: - {{ name }} requirements: host: - - {{ compiler('cxx') }} - - fsl-base >=2007.0 - - fsl-newnifti >=3.0.4 + - {{ compiler("cxx") }} + - fsl-base >=2012.0 + - make - fsl-armawrap >=0.4.1 - - fsl-miscmaths >=2001.0 - - fsl-newimage >=2006.0 - - fsl-utils >=1908.0 - - fsl-znzlib >=2006.0 + - fsl-miscmaths >=2010.0 + - fsl-newimage >=2011.0 + - fsl-newnifti >=3.0.6 + - fsl-utils >=2007.0 + - fsl-znzlib >=2012.0 diff --git a/post-link.sh b/post-link.sh new file mode 100644 index 0000000000000000000000000000000000000000..d067b75e9a49bf6703b295da438ef9131ccea794 --- /dev/null +++ b/post-link.sh @@ -0,0 +1,3 @@ +if [ -e ${FSLDIR}/share/fsl/sbin/createFSLWrapper ]; then + ${FSLDIR}/share/fsl/sbin/createFSLWrapper slicetimer +fi diff --git a/pre-unlink.sh b/pre-unlink.sh new file mode 100644 index 0000000000000000000000000000000000000000..8ad3b643e049fb247594f9eddfdd6409c89bad32 --- /dev/null +++ b/pre-unlink.sh @@ -0,0 +1,3 @@ +if [ -e ${FSLDIR}/share/fsl/sbin/removeFSLWrapper ]; then + ${FSLDIR}/share/fsl/sbin/removeFSLWrapper slicetimer +fi