From 79a4dcec2e34c5d58ab0661146ee9727452d672b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 8 Nov 2019 23:14:10 -0500 Subject: Whoosh --- scripts/hstcal/build.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 scripts/hstcal/build.sh (limited to 'scripts/hstcal') diff --git a/scripts/hstcal/build.sh b/scripts/hstcal/build.sh new file mode 100644 index 0000000..5d59bd8 --- /dev/null +++ b/scripts/hstcal/build.sh @@ -0,0 +1,31 @@ +#!/bin/bash +name=hstcal +version=2.3.1 +revision=0 +sources=() +build_depends=( + "git" + "python-3" +) +depends=( + "cfitsio" +) + + +function prepare() { + git clone https://github.com/spacetelescope/${name} + cd ${name} + git checkout ${version} + curl -L https://waf.io/waf-2.0.18 >../waf + chmod +x ../waf +} + +function build() { + ../waf configure --prefix=$prefix +} + +function package() { + ../waf install --destdir="${destdir}" +} + + -- cgit