summaryrefslogtreecommitdiff
path: root/fitsverify
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2017-11-07 10:35:43 -0500
committerGitHub <noreply@github.com>2017-11-07 10:35:43 -0500
commit509e9f4d9b7282d90f9ac8b6b515c36a52fc118f (patch)
tree9a72ce20ca33b31bfddc0a14ac8317a6b7c62cb7 /fitsverify
parent05b6ceb506b9222ef3fcf1acdf5f7dbc693c6e22 (diff)
parentae9265d4e2407579822310cc3cf68a150ea3bed7 (diff)
downloadastroconda-contrib-509e9f4d9b7282d90f9ac8b6b515c36a52fc118f.tar.gz
Merge branch 'master' into imexam0.8.0
Diffstat (limited to 'fitsverify')
-rw-r--r--fitsverify/bld.bat2
-rw-r--r--fitsverify/build.sh15
-rw-r--r--fitsverify/meta.yaml34
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..b4cd992
--- /dev/null
+++ b/fitsverify/meta.yaml
@@ -0,0 +1,34 @@
+{% set name = 'fitsverify' %}
+{% set version = '4.18' %}
+{% set number = '1' %}
+
+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
+ - pkg-config [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