summaryrefslogtreecommitdiff
path: root/etc/hstdp-2019.5/pkgs/002-hstcal.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-01-21 13:29:54 -0500
committerGitHub <noreply@github.com>2020-01-21 13:29:54 -0500
commit1bcf337692090b7b3f16af72c924b199153f3120 (patch)
treef5e145f7e77121d65d27da39dcbc9da0f551e526 /etc/hstdp-2019.5/pkgs/002-hstcal.sh
parentbaf286b2db71e82f41a909081d7d6eae090e8ede (diff)
parentdf956d197232e57a93c055d06996ec38b2653ed5 (diff)
downloaddocker-pipeline-1bcf337692090b7b3f16af72c924b199153f3120.tar.gz
Merge pull request #2 from astroconda/hstdp-2019.5HEADmaster
Add hstdp-2019.5
Diffstat (limited to 'etc/hstdp-2019.5/pkgs/002-hstcal.sh')
-rw-r--r--etc/hstdp-2019.5/pkgs/002-hstcal.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/hstdp-2019.5/pkgs/002-hstcal.sh b/etc/hstdp-2019.5/pkgs/002-hstcal.sh
new file mode 100644
index 0000000..f7ef911
--- /dev/null
+++ b/etc/hstdp-2019.5/pkgs/002-hstcal.sh
@@ -0,0 +1,18 @@
+#!/bin/bash -e
+name=hstcal
+version=2.3.1
+url="https://github.com/spacetelescope/${name}"
+
+# Grab a version of WAF that isn't broken
+curl -o waf https://waf.io/waf-2.0.12
+chmod +x waf
+
+git clone "${url}"
+pushd "${name}" &>/dev/null
+ git checkout "${version}"
+
+ # Build / Install
+ ../waf configure --prefix=${PREFIX} --release-with-symbols --with-cfitsio=${PREFIX}
+ ../waf build
+ ../waf install
+popd &>/dev/null