aboutsummaryrefslogtreecommitdiff
path: root/iraf.cirred/build.sh
blob: 7496e8ebdc8b20596ec8f0b2a0988a349e789a63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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