aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-05-24 09:36:16 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-05-24 09:36:16 -0400
commit57b060589ecdeb4e4bcd82e0cc456d1484c908b4 (patch)
tree5ac4b1c4a908672aef5905bdc106fad9ade09c11
parent734f3d5e30f2a1baba9441ac33ef498cf385db7f (diff)
downloadastroconda-iraf-57b060589ecdeb4e4bcd82e0cc456d1484c908b4.tar.gz
Initial commit of x11iraf: iraf-x11
-rw-r--r--iraf-x11/bld.bat3
-rw-r--r--iraf-x11/build.sh23
-rw-r--r--iraf-x11/meta.yaml18
3 files changed, 44 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..f4dad04
--- /dev/null
+++ b/iraf-x11/build.sh
@@ -0,0 +1,23 @@
+# Drop extraneous conda-set environment variables
+unset CFLAGS
+unset CXXFLAGS
+unset LDFLAGS
+
+# Complement build script
+# ("UR_IRAFUSER" MUST BE SET OR BUILD WILL FAIL)
+export UR_IRAFUSER=1
+export TERM=xterm
+
+
+# Copy working directory into PREFIX
+export iraf=$PREFIX/iraf/
+
+# Execute build
+printenv
+./build 32
+
+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..024e5c5
--- /dev/null
+++ b/iraf-x11/meta.yaml
@@ -0,0 +1,18 @@
+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
+ run:
+ - iraf
+source:
+ git_url: /eng/ssb/jhunk/git-repos/x11iraf.git