aboutsummaryrefslogtreecommitdiff
path: root/iraf_ureka
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-09 12:19:06 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-09 12:19:06 -0400
commit0f9f2b748e66f8b347d1ae0e7f8b96ad830f3c61 (patch)
tree60a0d1e9d450e6ed91c5fc103bdffdded3edc082 /iraf_ureka
parente4e2ad637d6d1efd52ef825decda822652f5df30 (diff)
downloadcbc-recipes-0f9f2b748e66f8b347d1ae0e7f8b96ad830f3c61.tar.gz
New iraf.ini, and renamed the old clunker
Diffstat (limited to 'iraf_ureka')
-rw-r--r--iraf_ureka/iraf.ini40
1 files changed, 40 insertions, 0 deletions
diff --git a/iraf_ureka/iraf.ini b/iraf_ureka/iraf.ini
new file mode 100644
index 0000000..d47870a
--- /dev/null
+++ b/iraf_ureka/iraf.ini
@@ -0,0 +1,40 @@
+[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