aboutsummaryrefslogtreecommitdiff
path: root/sextractor/sextractor-generic.ini
blob: 66fb558325dd8ca2414a4b858cc04fa0a637cf9a (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-generic
version : 2.19.5

[about]
# Manual assignment, because package:name differs
home : http://www.astromatic.net/download/sextractor
license : GPL
summary : ${package:name}

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

[build]
number : 0

[requirements]
build :
    #gcc >=4.6 [osx]
    fftw
    pkgconfig
    atlas-generic [osx]
    
run :
    fftw
    atlas-generic [osx]
    #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