diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2017-02-17 14:25:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 14:25:46 -0500 |
commit | d3d581aa966ee45923e901e3102c2bf350549571 (patch) | |
tree | fee3c8874f18cb1b14cf0e773d34b013ec6beb14 | |
parent | e58d5954f5b35c5bd45d673428c5b410f4e2dc77 (diff) | |
download | astroconda-contrib-d3d581aa966ee45923e901e3102c2bf350549571.tar.gz |
Initial commit of fitsverify (#173)
-rw-r--r-- | fitsverify/bld.bat | 2 | ||||
-rw-r--r-- | fitsverify/build.sh | 15 | ||||
-rw-r--r-- | fitsverify/meta.yaml | 34 |
3 files changed, 51 insertions, 0 deletions
diff --git a/fitsverify/bld.bat b/fitsverify/bld.bat new file mode 100644 index 0000000..b297784 --- /dev/null +++ b/fitsverify/bld.bat @@ -0,0 +1,2 @@ +echo Not supported. +exit 1 diff --git a/fitsverify/build.sh b/fitsverify/build.sh new file mode 100644 index 0000000..2fb5cce --- /dev/null +++ b/fitsverify/build.sh @@ -0,0 +1,15 @@ +export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig +RESULT=fitsverify +SRCS="ftverify.c fvrf_data.c fvrf_file.c fvrf_head.c fvrf_key.c fvrf_misc.c" +CFITSIO_FLAGS=`pkg-config --cflags --libs cfitsio` +LDFLAGS="-lm" + +gcc -o $RESULT \ + $SRCS \ + -DSTANDALONE \ + $CFITSIO_FLAGS \ + $LDFLAGS + +mkdir -p $PREFIX/bin +cp -a $RESULT $PREFIX/bin + diff --git a/fitsverify/meta.yaml b/fitsverify/meta.yaml new file mode 100644 index 0000000..4923305 --- /dev/null +++ b/fitsverify/meta.yaml @@ -0,0 +1,34 @@ +{% set name = 'fitsverify' %} +{% set version = '4.18' %} +{% set number = '0' %} + +about: + home: http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html + license: BSD-like + summary: | + Fitsverify is a computer program that rigorously checks whether a FITS + (Flexible Image Transport System) data file conforms to the + requirements defined in Version 3.0 of the FITS Standard document. + +build: + number: {{ number }} + +package: + name: {{ name }} + version: {{ version }} + +requirements: + build: + - cfitsio + - pkgconfig [osx] + + run: + - cfitsio + +source: + fn: {{ name }}-{{ version }}.tar.gz + url: https://heasarc.gsfc.nasa.gov/docs/software/ftools/{{ name }}/{{ name }}-{{ version }}.tar.gz + +test: + commands: + - fitsverify -h |