From 13984f725db156cbc952d0afe90f27da15a0b85d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 18 Feb 2020 12:56:22 -0500 Subject: Initial commit --- hstcal/build.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 hstcal/build.sh (limited to 'hstcal/build.sh') diff --git a/hstcal/build.sh b/hstcal/build.sh new file mode 100644 index 0000000..a93a216 --- /dev/null +++ b/hstcal/build.sh @@ -0,0 +1,31 @@ +#!/bin/bash +name=hstcal +version=2.3.1 +revision=0 +sources=() +build_depends=( + "git" + "python" +) +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="${_pkgdir}" +} + + -- cgit