summaryrefslogtreecommitdiff
path: root/etc/hstdp-2018.3a/pkgs/002-hstcal.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-12-04 16:22:46 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-12-04 16:22:46 -0500
commit2119eeef5d80ae1c14fdd1c45a9d81908ce14e3d (patch)
treea7b6dee647d7c0870885f6c17caddf2422a0281b /etc/hstdp-2018.3a/pkgs/002-hstcal.sh
downloaddocker-pipeline-2119eeef5d80ae1c14fdd1c45a9d81908ce14e3d.tar.gz
Initial commit
Diffstat (limited to 'etc/hstdp-2018.3a/pkgs/002-hstcal.sh')
-rw-r--r--etc/hstdp-2018.3a/pkgs/002-hstcal.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/hstdp-2018.3a/pkgs/002-hstcal.sh b/etc/hstdp-2018.3a/pkgs/002-hstcal.sh
new file mode 100644
index 0000000..8b4ab4f
--- /dev/null
+++ b/etc/hstdp-2018.3a/pkgs/002-hstcal.sh
@@ -0,0 +1,16 @@
+#!/bin/bash -e
+name=hstcal
+version=2.2.0
+url="https://github.com/spacetelescope/${name}"
+
+git clone "${url}"
+pushd "${name}" &>/dev/null
+ # Grab a version of WAF that isn't broken
+ curl -o waf https://waf.io/waf-2.0.12
+ chmod +x waf
+
+ # Build / Install
+ ./waf configure --prefix=${PREFIX} --release-with-symbols --with-cfitsio=${PREFIX}
+ ./waf build
+ ./waf install
+popd &>/dev/null