diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-06-29 00:08:50 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-06-29 00:08:50 -0400 |
commit | 9928739b9d03aa45c2acb3a00969cbafed4b1d7a (patch) | |
tree | 557bca6ea6e3ef57d46fa308576dc42b8addb225 /iraf | |
download | cbc-recipes-9928739b9d03aa45c2acb3a00969cbafed4b1d7a.tar.gz |
Initial commit
Diffstat (limited to 'iraf')
-rw-r--r-- | iraf/iraf.ini | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/iraf/iraf.ini b/iraf/iraf.ini new file mode 100644 index 0000000..d6a90bf --- /dev/null +++ b/iraf/iraf.ini @@ -0,0 +1,47 @@ +[cbc_cgi] +local_server: true +local_port: 8888 +local_sources: /srv/conda/sources +protocol: http +url: ${cbc_cgi:protocol}://localhost:${cbc_cgi:local_port} + +[package] +name: iraf +version: 2.16 + +[about] +home: http://bitbucket.org/jhunkeler/${package:name} +license: BSD +summary: ${package:name} is hard +#readme: README.md + +[source] +fn: ${package:name}.tar.bz2 +url: ${cbc_cgi:url}/${fn} + +[build] +number: 1 + +[requirements] +build: + python +run: + python + +[cbc_build] +linux: + # Replace hard-coded HOST and IRAF defines + sed -i -e "/#define\\tHOST/c \\ + \\#define HOST \"$$PREFIX/iraf/unix/\"" unix/hlib/libc/iraf.h + + sed -i -e "/#define\\tIRAF/c \\ + \\#define IRAF \"$$PREFIX/iraf/\"" unix/hlib/libc/iraf.h + + # Destroy hard-coded header paths. Rely on CFLAGS like normal humans. + sed -i -e 's|/home/jhunk/Ureka/iraf/unix/hlib/libc/||g' unix/hlib/libc/iraf.h + + #Pseudo-install + cp -a `pwd` $$PREFIX + +windows: + echo Not supported on Windows |