aboutsummaryrefslogtreecommitdiff
path: root/sextractor/sextractor.ini
blob: 911f8b0bbbf81b61172d87f93823a13a391dea01 (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
58
59
60
[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 :
    atlas-generic [linux]
    fftw
    pkgconfig
    
run :
    atlas-generic [linux]
    fftw

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

    make -j $${CPU_COUNT}
    make install
windows :
    echo Unsupported