aboutsummaryrefslogtreecommitdiff
path: root/sextractor/sextractor.ini
blob: 647d3e584389ecc55504ab96a8e6c9ecbc849c2b (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
[package]
name : sextractor
version : 2.19.5

[about]
home : http://www.astromatic.net/download/${package:name}
license : GPL
summary : ${package:name}

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

[build]
number : 0

[requirements]
build :
    #gcc >=4.6 [darwin]
    fftw
    pkgconfig
    
run :
    fftw
    #none

[cbc_build]
linux :
    ATLAS=/usr
    LIBDIR=lib
    case $$(uname) in
        Linux)
            if [[ $$(uname -m) == *x86_64* ]]; then
                LIBDIR=lib64/atlas
            else
                LIBDIR=lib/atlas
            fi
        ;;
        Darwin)
            ATLAS=/usr/local/atlas
        ;;
        *)
        ;;
    esac
    
    ./configure --prefix=$$PREFIX \
    --with-fftw-libdir=$$PREFIX/lib \
    --with-fftw-incdir=$$PREFIX/include \
    --with-atlas-libdir="$$ATLAS/$$LIBDIR" \
    --with-atlas-incdir="$$ATLAS/include"
    make -j $${CPU_COUNT}
    make install
windows :
    echo Unsupported