diff options
-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 |