diff options
-rw-r--r-- | iraf-x11/bld.bat | 3 | ||||
-rw-r--r-- | iraf-x11/build.sh | 23 | ||||
-rw-r--r-- | iraf-x11/meta.yaml | 18 |
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 |