summaryrefslogtreecommitdiff
path: root/etc/jwstdp-latest/pkgs/001-cfitsio.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-12-06 01:27:29 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-12-06 01:27:29 -0500
commit48a05628c76ec4bac61361dde39342a0eb9be59b (patch)
tree6f13ab3d69d5b84fbb59b9f154a27454fc7c2a53 /etc/jwstdp-latest/pkgs/001-cfitsio.sh
parentb66c4e1b676da43ad771ec06d4d54f274f038626 (diff)
downloaddocker-pipeline-48a05628c76ec4bac61361dde39342a0eb9be59b.tar.gz
Initial commit of jwstdp
* Unstable * Incomplete
Diffstat (limited to 'etc/jwstdp-latest/pkgs/001-cfitsio.sh')
-rw-r--r--etc/jwstdp-latest/pkgs/001-cfitsio.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/jwstdp-latest/pkgs/001-cfitsio.sh b/etc/jwstdp-latest/pkgs/001-cfitsio.sh
new file mode 100644
index 0000000..719b542
--- /dev/null
+++ b/etc/jwstdp-latest/pkgs/001-cfitsio.sh
@@ -0,0 +1,15 @@
+#!/bin/bash -e
+
+name=cfitsio
+version=3440
+url=https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${name}${version}.tar.gz
+
+sudo yum install -y libcurl-devel
+curl -LO "${url}"
+tar xf "$(basename ${url})"
+
+pushd "${name}" &>/dev/null
+./configure --prefix="${PREFIX}" --enable-reentrant
+make shared
+make install
+popd &>/dev/null