diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
commit | 13984f725db156cbc952d0afe90f27da15a0b85d (patch) | |
tree | b3a39b75ecaecca11ee1525a99153a7606e460cb /hstcal | |
download | spm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz |
Initial commit
Diffstat (limited to 'hstcal')
-rw-r--r-- | hstcal/build.sh | 31 |
1 files changed, 31 insertions, 0 deletions
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}" +} + + |