summaryrefslogtreecommitdiff
path: root/largepacks/sextractor-generic/build.sh
blob: 59c06c043ef55b907e6a828a6f0d0dca2419365a (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

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