blob: d47870a4357c0662e2ed827f4692968a614313fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
|