diff options
author | James Turner <jturner@gemini.edu> | 2016-12-07 14:27:57 -0500 |
---|---|---|
committer | James Turner <jturner@gemini.edu> | 2016-12-07 14:27:57 -0500 |
commit | 0fa57d74bbdc1958bff662be487eacdeb68bd635 (patch) | |
tree | 0988e634efe8c462eca5fd86d076b63cfe3d88aa /iraf.ctio | |
parent | 162293e8024bba18d40f7d125eba3b0e9a1796e1 (diff) | |
download | astroconda-iraf-0fa57d74bbdc1958bff662be487eacdeb68bd635.tar.gz |
Add ctio, cutoutpkg & deitab IRAF packages.
Diffstat (limited to 'iraf.ctio')
-rw-r--r-- | iraf.ctio/ac.iraf.ctio.patch | 29 | ||||
-rw-r--r-- | iraf.ctio/bld.bat | 2 | ||||
-rw-r--r-- | iraf.ctio/build.sh | 8 | ||||
-rw-r--r-- | iraf.ctio/post-link.sh | 3 | ||||
-rw-r--r-- | iraf.ctio/pre-unlink.sh | 1 | ||||
-rw-r--r-- | iraf.ctio/ur_extern.pkg | 6 | ||||
-rw-r--r-- | iraf.ctio/ur_manifest | 3 | ||||
-rw-r--r-- | iraf.ctio/ur_mkpkg_patterns | 1 |
8 files changed, 53 insertions, 0 deletions
diff --git a/iraf.ctio/ac.iraf.ctio.patch b/iraf.ctio/ac.iraf.ctio.patch new file mode 100644 index 0000000..6fba107 --- /dev/null +++ b/iraf.ctio/ac.iraf.ctio.patch @@ -0,0 +1,29 @@ +diff -Nur ../original/ctio.cl ./ctio.cl +--- ../original/ctio.cl 1994-02-17 12:16:43.000000000 -0300 ++++ ./ctio.cl 2016-05-03 13:32:08.000000000 -0300 +@@ -12,15 +12,16 @@ + set fabry = "ctio$fabry/" + set manuals = "ctio$manuals/" + +-# Apropos database. This environment variable is used by the apropos task. +-# It should have one entry per external package, but the total string length +-# shouldn't exceed SZ_APROPOSDB (defined in ctio$src/t_apropos.x). +- +-set aproposdb = "ctio$src/apropos/db/root.db\ +- ,ctio$src/apropos/db/noao.db\ +- ,ctio$src/apropos/db/ctio.db\ +- ,ctio$src/apropos/db/stsdas.db\ +- " ++# Ureka: don't do this; we have our own aproposdb setting instead ++# # Apropos database. This environment variable is used by the apropos task. ++# # It should have one entry per external package, but the total string length ++# # shouldn't exceed SZ_APROPOSDB (defined in ctio$src/t_apropos.x). ++# ++# set aproposdb = "ctio$src/apropos/db/root.db\ ++# ,ctio$src/apropos/db/noao.db\ ++# ,ctio$src/apropos/db/ctio.db\ ++# ,ctio$src/apropos/db/stsdas.db\ ++# " + + # Subpackages + diff --git a/iraf.ctio/bld.bat b/iraf.ctio/bld.bat new file mode 100644 index 0000000..e1aca7a --- /dev/null +++ b/iraf.ctio/bld.bat @@ -0,0 +1,2 @@ +echo Not supported on Windows +exit 1 diff --git a/iraf.ctio/build.sh b/iraf.ctio/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.ctio/build.sh @@ -0,0 +1,8 @@ +# 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 + +# Build from source in envs/_build (using build script from astroconda-utils): +ac_build_iraf_pkg + diff --git a/iraf.ctio/post-link.sh b/iraf.ctio/post-link.sh new file mode 100644 index 0000000..3a246b2 --- /dev/null +++ b/iraf.ctio/post-link.sh @@ -0,0 +1,3 @@ +# Call a common script that updates extern.pkg for the new IRAF package: + +"$PREFIX/bin/ac_config_iraf_pkg" ctio diff --git a/iraf.ctio/pre-unlink.sh b/iraf.ctio/pre-unlink.sh new file mode 100644 index 0000000..83ccef7 --- /dev/null +++ b/iraf.ctio/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove ctio diff --git a/iraf.ctio/ur_extern.pkg b/iraf.ctio/ur_extern.pkg new file mode 100644 index 0000000..565d607 --- /dev/null +++ b/iraf.ctio/ur_extern.pkg @@ -0,0 +1,6 @@ +# ftp://iraf.noao.edu/iraf/v215/REPO +reset ctio = UR_VDIR +task ctio.pkg = ctio$ctio.cl +reset helpdb= ( envget("helpdb") + ",ctio$lib/helpdb.mip" ) +reset aproposdb= ( envget("aproposdb") + ",ctio$lib/apropos.db" ) + diff --git a/iraf.ctio/ur_manifest b/iraf.ctio/ur_manifest new file mode 100644 index 0000000..9758d07 --- /dev/null +++ b/iraf.ctio/ur_manifest @@ -0,0 +1,3 @@ +bin/x_ctio.e +bin/x_fabry.e +bin/x_spcombine.e diff --git a/iraf.ctio/ur_mkpkg_patterns b/iraf.ctio/ur_mkpkg_patterns new file mode 100644 index 0000000..2f9f359 --- /dev/null +++ b/iraf.ctio/ur_mkpkg_patterns @@ -0,0 +1 @@ +^ entry rftres: |