diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-04-03 00:17:13 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2016-04-19 11:17:28 -0400 |
commit | 25d4d41850ffeb0ba15f60b4760f9f98e6837b5b (patch) | |
tree | 20f01a9e236295d8765852d3a65c8c936903da6a /largepacks/sextractor-generic/build.sh | |
parent | aacc9ee0d6b4b02d95a7f725d598a6a8a6d0c599 (diff) | |
download | astroconda-dev-25d4d41850ffeb0ba15f60b4760f9f98e6837b5b.tar.gz |
Move large packages and metapackages into subdirs
Diffstat (limited to 'largepacks/sextractor-generic/build.sh')
-rw-r--r-- | largepacks/sextractor-generic/build.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/largepacks/sextractor-generic/build.sh b/largepacks/sextractor-generic/build.sh new file mode 100644 index 0000000..59c06c0 --- /dev/null +++ b/largepacks/sextractor-generic/build.sh @@ -0,0 +1,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
\ No newline at end of file |