summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2017-02-17 14:25:05 -0500
committerGitHub <noreply@github.com>2017-02-17 14:25:05 -0500
commit9eefcd8f86aa119fd82b8aa4d475ccf284d5415d (patch)
tree984eb42c31ad6ea73a91fbc585351816192dfb43
parent2ffe495f05a6b5b362fd185cce8fcca7604f7add (diff)
downloadastroconda-dev-9eefcd8f86aa119fd82b8aa4d475ccf284d5415d.tar.gz
Initial commit of fitsverify (#22)
-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..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