diff options
author | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-23 17:00:53 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-23 17:00:53 -0400 |
commit | e4caf4a2acbb18875b1064246554e4105449b5a3 (patch) | |
tree | b57ece5acd84c9a8c9235818b975a439c8ae3df9 /sextractor-generic | |
download | astroconda-contrib-e4caf4a2acbb18875b1064246554e4105449b5a3.tar.gz |
Initial commit
Diffstat (limited to 'sextractor-generic')
-rw-r--r-- | sextractor-generic/bld.bat | 2 | ||||
-rw-r--r-- | sextractor-generic/build.sh | 26 | ||||
-rw-r--r-- | sextractor-generic/meta.yaml | 21 |
3 files changed, 49 insertions, 0 deletions
diff --git a/sextractor-generic/bld.bat b/sextractor-generic/bld.bat new file mode 100644 index 0000000..95a6a85 --- /dev/null +++ b/sextractor-generic/bld.bat @@ -0,0 +1,2 @@ + +echo Unsupported
\ No newline at end of file diff --git a/sextractor-generic/build.sh b/sextractor-generic/build.sh new file mode 100644 index 0000000..59c06c0 --- /dev/null +++ b/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/sextractor-generic/meta.yaml b/sextractor-generic/meta.yaml new file mode 100644 index 0000000..3340429 --- /dev/null +++ b/sextractor-generic/meta.yaml @@ -0,0 +1,21 @@ +about: + home: http://www.astromatic.net/download/sextractor + license: GPL + summary: sextractor-generic +build: + number: '0' +package: + name: sextractor-generic + version: 2.19.5 +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 |