aboutsummaryrefslogtreecommitdiff
path: root/ds9/ds9.ini
blob: b48025138d39de71a5d5ec9893fa4ac19cd29aa8 (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
48
49
50
51
52
53
54
55
56
57
[package]
name : ds9
version : 7.4

[about]
home : http://ds9.si.edu/download/source/
license : GPL,LGPL,BSD
summary : ${package:name}

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

[build]
number : 0

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

[test]
imports : 
	
commands : 
	

[cbc_build]
linux : 
    case "$$(uname)" in
        Linux)
            LDFLAGS='-m64'
        ;;
        Darwin)
            LDFLAGS='-arch x86_64 -m64'
            #cp -a make.darwinmavericks make.include

            #sed -i -e '/^ZZ/ s/$$/ -arch x86_64/' \
            #    -e '/^AA/ s/$$/ -arch x86_64/' make.include
            sed -i -e '/codesign/d' ds9/unix/Makefile.in
        ;;
        *)
            echo "Unsupported"
            exit 1
        ;;
    esac

    unix/configure
    make
    mkdir -p $$PREFIX/bin
    cp -a bin/ds9* bin/x* $$PREFIX/bin
windows : 
    exit 1
	if errorlevel 1 exit 1