blob: d6a90bfab8e1915dae1759da67d8fa97e9a09e11 (
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
41
42
43
44
45
46
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
|