aboutsummaryrefslogtreecommitdiff
path: root/iraf-x11
diff options
context:
space:
mode:
Diffstat (limited to 'iraf-x11')
-rw-r--r--iraf-x11/bld.bat3
-rw-r--r--iraf-x11/build.sh19
-rw-r--r--iraf-x11/meta.yaml19
3 files changed, 41 insertions, 0 deletions
diff --git a/iraf-x11/bld.bat b/iraf-x11/bld.bat
new file mode 100644
index 0000000..fa5316a
--- /dev/null
+++ b/iraf-x11/bld.bat
@@ -0,0 +1,3 @@
+
+echo Not supported on Windows
+exit 1 \ No newline at end of file
diff --git a/iraf-x11/build.sh b/iraf-x11/build.sh
new file mode 100644
index 0000000..02f6592
--- /dev/null
+++ b/iraf-x11/build.sh
@@ -0,0 +1,19 @@
+# Drop extraneous conda-set environment variables
+unset ARCH CFLAGS CXXFLAGS LDFLAGS MACOSX_DEPLOYMENT_TARGET
+
+# Complement build script
+export TERM=xterm
+
+# Tell the build script where IRAF is (& it will then set up its environment)
+export iraf=$PREFIX/iraf/
+
+# Execute build
+printenv > build_log 2>&1
+./build 32 >> build_log 2>&1
+
+# Copy files into PREFIX
+mkdir -p $PREFIX/{bin,include,lib,share}
+./install.bin $PREFIX
+./install.lib $PREFIX
+./install.man $PREFIX/share
+
diff --git a/iraf-x11/meta.yaml b/iraf-x11/meta.yaml
new file mode 100644
index 0000000..4ccf72a
--- /dev/null
+++ b/iraf-x11/meta.yaml
@@ -0,0 +1,19 @@
+about:
+ home: http://iraf.noao.edu
+ license: MIT
+ summary: X11 support for IRAF
+build:
+ #binary_relocation: False [osx]
+ #detect_binary_files_with_prefix: False [osx]
+ number: '0'
+package:
+ name: iraf-x11
+ version: "2.0"
+requirements:
+ build:
+ - iraf !=2.16.1,>=2.16.UR
+ run:
+ - iraf !=2.16.1,>=2.16.UR
+source:
+ svn_url: https://aeon.stsci.edu/ssb/svn/u-rel/x11iraf/trunk/
+