blob: 5d59bd8b94645913c04c9dc7a2309e11d8223df0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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}"
}
|