summaryrefslogtreecommitdiff
path: root/largepacks
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-04-03 00:17:13 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2016-04-19 11:17:28 -0400
commit25d4d41850ffeb0ba15f60b4760f9f98e6837b5b (patch)
tree20f01a9e236295d8765852d3a65c8c936903da6a /largepacks
parentaacc9ee0d6b4b02d95a7f725d598a6a8a6d0c599 (diff)
downloadastroconda-dev-25d4d41850ffeb0ba15f60b4760f9f98e6837b5b.tar.gz
Move large packages and metapackages into subdirs
Diffstat (limited to 'largepacks')
-rw-r--r--largepacks/atlas-generic/bld.bat3
-rw-r--r--largepacks/atlas-generic/build.sh35
-rw-r--r--largepacks/atlas-generic/meta.yaml17
-rw-r--r--largepacks/sextractor-generic/bld.bat2
-rw-r--r--largepacks/sextractor-generic/build.sh26
-rw-r--r--largepacks/sextractor-generic/meta.yaml25
-rw-r--r--largepacks/sextractor/bld.bat2
-rw-r--r--largepacks/sextractor/build.sh34
-rw-r--r--largepacks/sextractor/meta.yaml27
9 files changed, 171 insertions, 0 deletions
diff --git a/largepacks/atlas-generic/bld.bat b/largepacks/atlas-generic/bld.bat
new file mode 100644
index 0000000..bea6315
--- /dev/null
+++ b/largepacks/atlas-generic/bld.bat
@@ -0,0 +1,3 @@
+
+echo Not supported
+if errorlevel 1 exit 1 \ No newline at end of file
diff --git a/largepacks/atlas-generic/build.sh b/largepacks/atlas-generic/build.sh
new file mode 100644
index 0000000..ce5d3eb
--- /dev/null
+++ b/largepacks/atlas-generic/build.sh
@@ -0,0 +1,35 @@
+
+
+export LIBTOOL=/usr/bin/libtool
+export OPTIONS=
+
+case "$(uname -s)" in
+Darwin)
+export CC=/opt/local/bin/gcc-mp-4.8
+export F77=/opt/local/bin/gfortran-mp-4.8
+export OPTIONS="-C agc $CC -C if $F77 --shared -t 2 -b 64 -V 128 -A 12"
+;;
+Linux)
+export CC=/usr/bin/gcc
+export F77=/usr/bin/gfortran
+export OPTIONS="-C agc $CC -C if $F77 --shared -t 2 -b 64 -V 128 -A 12"
+;;
+*)
+;;
+esac
+
+export LAPACK_VERSION=3.5.0
+export LAPACK_TARBALL=lapack-${LAPACK_VERSION}.tgz
+export LAPACK_URL="http://www.netlib.org/lapack/${LAPACK_TARBALL}"
+wget ${LAPACK_URL}
+
+mkdir -p build
+pushd ./build
+../configure --prefix=$PREFIX \
+--with-netlib-lapack-tarfile=../${LAPACK_TARBALL} \
+"${OPTIONS}"
+
+make LIBTOOL=$LIBTOOL
+make install
+
+popd \ No newline at end of file
diff --git a/largepacks/atlas-generic/meta.yaml b/largepacks/atlas-generic/meta.yaml
new file mode 100644
index 0000000..e3dd738
--- /dev/null
+++ b/largepacks/atlas-generic/meta.yaml
@@ -0,0 +1,17 @@
+{% set name = 'atlas-generic' %}
+{% set version = '3.10.2' %}
+{% set number = '0' %}
+
+about:
+ home: http://sourceforge.net/projects/math-atlas/files/Stable
+ license: BSD
+ summary: atlas-generic
+build:
+ number: {{ number }}
+package:
+ name: {{ name }}
+ version: {{ version }}
+source:
+ fn: atlas3.10.2.tar.bz2
+ url:
+ - http://sourceforge.net/projects/math-atlas/files/Stable/3.10.2/atlas3.10.2.tar.bz2
diff --git a/largepacks/sextractor-generic/bld.bat b/largepacks/sextractor-generic/bld.bat
new file mode 100644
index 0000000..95a6a85
--- /dev/null
+++ b/largepacks/sextractor-generic/bld.bat
@@ -0,0 +1,2 @@
+
+echo Unsupported \ No newline at end of file
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
diff --git a/largepacks/sextractor-generic/meta.yaml b/largepacks/sextractor-generic/meta.yaml
new file mode 100644
index 0000000..0445f24
--- /dev/null
+++ b/largepacks/sextractor-generic/meta.yaml
@@ -0,0 +1,25 @@
+{% set name = 'sextractor-generic' %}
+{% set version = '2.19.5' %}
+{% set number = '0' %}
+
+about:
+ home: http://www.astromatic.net/download/sextractor
+ license: GPL
+ summary: sextractor-generic
+build:
+ number: {{ number }}
+package:
+ name: {{ name }}
+ version: {{ version }}
+requirements:
+ build:
+ - fftw
+ - pkgconfig
+ - atlas-generic [osx]
+ run:
+ - fftw
+ - atlas-generic [osx]
+source:
+ fn: sextractor-2.19.5.tar.gz
+ url:
+ - http://www.astromatic.net/download/sextractor/sextractor-2.19.5.tar.gz
diff --git a/largepacks/sextractor/bld.bat b/largepacks/sextractor/bld.bat
new file mode 100644
index 0000000..95a6a85
--- /dev/null
+++ b/largepacks/sextractor/bld.bat
@@ -0,0 +1,2 @@
+
+echo Unsupported \ No newline at end of file
diff --git a/largepacks/sextractor/build.sh b/largepacks/sextractor/build.sh
new file mode 100644
index 0000000..937f3d9
--- /dev/null
+++ b/largepacks/sextractor/build.sh
@@ -0,0 +1,34 @@
+
+ATLAS=/usr
+LIBDIR=lib
+OPTIONS=
+case $(uname) in
+Linux)
+if [[ $(uname -m) == *x86_64* ]]; then
+LIBDIR=lib64/atlas
+else
+LIBDIR=lib/atlas
+fi
+export OPTIONS="--with-atlas-libdir=$PREFIX/lib --with-atlas-incdir=$PREFIX/include"
+;;
+Darwin)
+curl https://gist.githubusercontent.com/mwcraig/ae66eadcd0f266e7138f/raw/f4625508784e75c7b3ce11d8a578589425533282/acx_accelerate.m4.diff | patch -p1 -i -
+curl https://gist.githubusercontent.com/mwcraig/4f61431f177b6cc0085a/raw/bf4d29a7a51ccec1ef224006fd10ac260a31c37c/configure.ac.diff | patch -p1 -i -
+curl https://gist.githubusercontent.com/mwcraig/b423656698987b6bc492/raw/f23c4b50d972de4e7902fe3d4fa1363400a98f8f/pattern.c.diff | patch -p1 -i -
+
+ATLAS=/usr/local/atlas
+export OPTIONS="--enable-accelerate"
+autoconf
+autoheader
+;;
+*)
+;;
+esac
+
+./configure --prefix=$PREFIX \
+--with-fftw-libdir=$PREFIX/lib \
+--with-fftw-incdir=$PREFIX/include \
+"${OPTIONS}"
+
+make -j ${CPU_COUNT}
+make install \ No newline at end of file
diff --git a/largepacks/sextractor/meta.yaml b/largepacks/sextractor/meta.yaml
new file mode 100644
index 0000000..dd7fc2d
--- /dev/null
+++ b/largepacks/sextractor/meta.yaml
@@ -0,0 +1,27 @@
+{% set name = 'sextractor' %}
+{% set version = '2.19.5' %}
+{% set number = '0' %}
+
+about:
+ home: http://www.astromatic.net/download/sextractor
+ license: GPL
+ summary: sextractor
+build:
+ number: {{ number }}
+package:
+ name: {{ name }}
+ version: {{ version }}
+requirements:
+ build:
+ - atlas-generic [linux]
+ - autoconf [osx]
+ - m4 [osx]
+ - fftw
+ - pkgconfig
+ run:
+ - atlas-generic [linux]
+ - fftw
+source:
+ fn: {{ name }}-{{ version }}.tar.gz
+ url:
+ - http://www.astromatic.net/download/sextractor/{{ name }}-{{ version }}.tar.gz