aboutsummaryrefslogtreecommitdiff
path: root/hstcal/hstcal.ini
blob: 15de81b7642c4811b35e25236eca456a77a8f729 (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
[package]
name : hstcal
version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git

[about]
home : https://github.com/spacetelescope/${package:name}.git
license : BSD
summary : ${package:name}

[source]
#fn : ${package:name}-${package:version}.tar.gz
#url : ${about:home}/${fn}
git_url : ${about:home}
#git_tag : 

[build]
number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}

[requirements]
build : 
    gcc >=4.6 [osx]
run : 
    libgcc >=4.6 [osx]

[test]
imports : 
	
commands : 
	

[cbc_build]
linux : 
    # If you find yourself here wondering why your HSTCAL will not build from source
    # ... you're not alone.
    # Make sure your system Python is <= 2.6.
    # WAF 1.6.4 is the mortal enemy of Python >= 2.7
    # -- This should be fixed some day.

    /usr/bin/python ./waf configure --destdir=$$PREFIX
    /usr/bin/python ./waf build
    /usr/bin/python ./waf install

windows : 
    echo Not yet.
    exit 1