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 a083ab0e5ec1e6f721d2951b37e6c02a1d131d68..aceab06278beb6f47dd632907a3e1d7b01a522ee 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,10 +1,11 @@ # This is a FSL conda recipe for: fsl-swe -# The project git repository is: git@git.fmrib.ox.ac.uk:fsl/swe.git -# The git repository for this conda recipe is: git@git.fmrib.ox.ac.uk:fsl/conda/fsl-swe.git +# The project git repository is: https://git.fmrib.ox.ac.uk/fsl/swe.git +# The git repository for this conda recipe is: https://git.fmrib.ox.ac.uk/fsl/conda/fsl-swe.git {% set name = 'fsl-swe' %} {% set version = 'v1.0.3' %} -{% set repository = 'git@git.fmrib.ox.ac.uk:fsl/swe.git' %} +{% set repository = 'https://git.fmrib.ox.ac.uk/fsl/swe.git' %} +{% set build = '0' %} package: name: {{ name }} @@ -14,23 +15,24 @@ 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-cprob >=2006.0 - - 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..173f216cce2e0f63c5565f4a27abc68c9c998fab --- /dev/null +++ b/post-link.sh @@ -0,0 +1,3 @@ +if [ -e ${FSLDIR}/share/fsl/sbin/createFSLWrapper ]; then + ${FSLDIR}/share/fsl/sbin/createFSLWrapper swe +fi diff --git a/pre-unlink.sh b/pre-unlink.sh new file mode 100644 index 0000000000000000000000000000000000000000..0e10f96abab46434fc4ceee74d63b1f52c3c0e10 --- /dev/null +++ b/pre-unlink.sh @@ -0,0 +1,3 @@ +if [ -e ${FSLDIR}/share/fsl/sbin/removeFSLWrapper ]; then + ${FSLDIR}/share/fsl/sbin/removeFSLWrapper swe +fi