diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2018-03-20 10:25:07 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-20 10:25:07 -0400 | 
| commit | 50ad834546c18cb24b1c85f7ece709116e264f1c (patch) | |
| tree | ee304ce296f16aedb37b6e0d334761c908bda7c5 /cfitsio | |
| parent | 0ceeeda09ae9b8ac845bf4475b816dfd8f45dd75 (diff) | |
| download | astroconda-contrib-50ad834546c18cb24b1c85f7ece709116e264f1c.tar.gz | |
Cfitsio: curl (#329)
* cfitsio: Use Conda curl; System curl may be inconsistent at system level
* Align recipe with -dev
Diffstat (limited to 'cfitsio')
| -rw-r--r-- | cfitsio/build.sh | 9 | ||||
| -rw-r--r-- | cfitsio/meta.yaml | 11 | 
2 files changed, 17 insertions, 3 deletions
| diff --git a/cfitsio/build.sh b/cfitsio/build.sh index 6ceb369..5368e6b 100644 --- a/cfitsio/build.sh +++ b/cfitsio/build.sh @@ -1,3 +1,8 @@ - +case "$(uname)" in +    Darwin) +        export CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200112L" +        ;; +esac  ./configure --prefix=$PREFIX --disable-static --enable-reentrant -(make -j $CPU_COUNT shared && make install)
\ No newline at end of file +make -j $CPU_COUNT shared +make install diff --git a/cfitsio/meta.yaml b/cfitsio/meta.yaml index 9cae495..b1daed3 100644 --- a/cfitsio/meta.yaml +++ b/cfitsio/meta.yaml @@ -1,7 +1,7 @@  {% set name = 'cfitsio' %}  {% set version = '3.430' %}  {% set version_short = '3430' %} -{% set number = '0' %} +{% set number = '1' %}  about:      home: http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html @@ -17,6 +17,15 @@ package:      name: {{ name }}      version: {{ version }} +requirements: +    build: +      - curl +      - gcc [osx] + +    run: +      - curl +      - libgcc [osx] +  source:      fn: {{ name }}{{ version_short }}.tar.gz      url: http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/{{ name }}{{ version_short }}.tar.gz | 
