diff options
Diffstat (limited to 'iraf.cirred/build.sh')
-rw-r--r-- | iraf.cirred/build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/iraf.cirred/build.sh b/iraf.cirred/build.sh new file mode 100644 index 0000000..7496e8e --- /dev/null +++ b/iraf.cirred/build.sh @@ -0,0 +1,11 @@ +# Configure the environment for IRAF, since conda build appears not to do +# "source activate" after installing dependencies (this would instead need to +# eval $PREFIX/iraf/unix/hlib/setup directly if "--level" needs specifying): +. setup_iraf.sh + +# Copy the cfitsio build dependency from IRAF: +cp -p ${iraf}/bin/libcfitsio.a libcfitsio32.a || exit 1 # picked up by mkpkg + +# Build from source in envs/_build (using build script from astroconda-utils): +ac_build_iraf_pkg + |