From 1bf227afdf7d862fc26f9ed74887ef271f431fe2 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 7 Dec 2016 15:16:51 -0300 Subject: Add adccdrom, cfh12k & cirred IRAF packages. --- iraf.adccdrom/bld.bat | 3 +++ iraf.adccdrom/build.sh | 8 ++++++++ iraf.adccdrom/meta.yaml | 25 +++++++++++++++++++++++++ iraf.adccdrom/post-link.sh | 4 ++++ iraf.adccdrom/pre-unlink.sh | 1 + iraf.adccdrom/ur_extern.pkg | 6 ++++++ iraf.adccdrom/ur_mkpkg_patterns | 0 7 files changed, 47 insertions(+) create mode 100644 iraf.adccdrom/bld.bat create mode 100644 iraf.adccdrom/build.sh create mode 100644 iraf.adccdrom/meta.yaml create mode 100644 iraf.adccdrom/post-link.sh create mode 100644 iraf.adccdrom/pre-unlink.sh create mode 100644 iraf.adccdrom/ur_extern.pkg create mode 100644 iraf.adccdrom/ur_mkpkg_patterns (limited to 'iraf.adccdrom') diff --git a/iraf.adccdrom/bld.bat b/iraf.adccdrom/bld.bat new file mode 100644 index 0000000..fa5316a --- /dev/null +++ b/iraf.adccdrom/bld.bat @@ -0,0 +1,3 @@ + +echo Not supported on Windows +exit 1 \ No newline at end of file diff --git a/iraf.adccdrom/build.sh b/iraf.adccdrom/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.adccdrom/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.adccdrom/meta.yaml b/iraf.adccdrom/meta.yaml new file mode 100644 index 0000000..0a41386 --- /dev/null +++ b/iraf.adccdrom/meta.yaml @@ -0,0 +1,25 @@ +about: + home: http://iraf.noao.edu/ + license: IRAF MIT/X11 variant + summary: ADCCDROM package for IRAF +build: + binary_relocation: False + number: '0' + # These must be copied from astroconda-iraf-helpers, since conda disallows + # the post-install step from depending on other packages: + always_include_files: + - bin/ac_config_iraf_pkg + - bin/ac_update_extern_pkg +package: + name: iraf.adccdrom + version: "2013_01_02" +source: + fn: adccdrom-src-2013-01-02.tar.gz + url: http://astroconda-source:4440/adccdrom-src-2013-01-02.tar.gz +requirements: + build: + - astroconda-iraf-helpers + - iraf !=2.16.1,>=2.16.UR + run: + - iraf !=2.16.1,>=2.16.UR + diff --git a/iraf.adccdrom/post-link.sh b/iraf.adccdrom/post-link.sh new file mode 100644 index 0000000..4800d2e --- /dev/null +++ b/iraf.adccdrom/post-link.sh @@ -0,0 +1,4 @@ +# Call a common script that updates extern.pkg for the new IRAF package: + +"$PREFIX/bin/ac_config_iraf_pkg" adccdrom + diff --git a/iraf.adccdrom/pre-unlink.sh b/iraf.adccdrom/pre-unlink.sh new file mode 100644 index 0000000..76c2c86 --- /dev/null +++ b/iraf.adccdrom/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove adccdrom diff --git a/iraf.adccdrom/ur_extern.pkg b/iraf.adccdrom/ur_extern.pkg new file mode 100644 index 0000000..402520f --- /dev/null +++ b/iraf.adccdrom/ur_extern.pkg @@ -0,0 +1,6 @@ +# ftp://iraf.noao.edu/iraf/v216/REPO +reset adccdrom = UR_VDIR +task adccdrom.pkg = adccdrom$adccdrom.cl +reset helpdb= ( envget("helpdb") + ",adccdrom$lib/helpdb.mip" ) +reset aproposdb= ( envget("aproposdb") + ",adccdrom$lib/apropos.db" ) + diff --git a/iraf.adccdrom/ur_mkpkg_patterns b/iraf.adccdrom/ur_mkpkg_patterns new file mode 100644 index 0000000..e69de29 -- cgit