summaryrefslogtreecommitdiff
path: root/etc/hstdp-2018.3a/pkgs/002-hstcal.sh
blob: 8b4ab4f63e2a9300993c3d843a3e180943d978b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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