-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathget_sources
executable file
·65 lines (54 loc) · 1.38 KB
/
get_sources
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/sh
mkdir -p checkout
cd checkout
if [ -d "libccp4" ]; then
echo "Found libccp4"
else
echo "Checking out libccp4"
bzr checkout --lightweight http://fg.oisin.rc-harwell.ac.uk/anonscm/bzr/libccp4/trunk/ libccp4
echo
fi
if [ -d "clipper" ]; then
echo "Found clipper"
else
echo "Checking out clipper"
curl -L http://www.ysbl.york.ac.uk/jsd523/clipper-gemmi-wrapper-20240603.tar.gz -o clipper-gemmi-wrapper.tar.gz
tar xf clipper-gemmi-wrapper.tar.gz
mv clipper-gemmi-wrapper clipper
echo
fi
if [ -d "mmdb2" ]; then
echo "Found mmdb2"
else
echo "Checking out mmdb2"
bzr checkout --lightweight http://fg.oisin.rc-harwell.ac.uk/anonscm/bzr/mmdb2/trunk/ mmdb2
echo
fi
if [ -d "ccp4srs" ]; then
echo "Found ccp4srs"
else
echo "Checking out ccp4srs"
bzr checkout --lightweight http://fg.oisin.rc-harwell.ac.uk/anonscm/bzr/ccp4srs/trunk/ ccp4srs
echo
fi
if [ -d "gemmi" ]; then
echo "Found gemmi"
else
echo "Checking out gemmi"
wget https://github.com/project-gemmi/gemmi/archive/refs/tags/v0.6.5.tar.gz
tar xf v0.6.5.tar.gz
mv gemmi-0.6.5 gemmi
echo
fi
if [ -d "fftw-2.1.5" ]; then
echo "Found fftw-2.1.5"
else
echo "Downloading out fftw-2.1.5"
curl -L http://www.fftw.org/fftw-2.1.5.tar.gz -o fftw-2.1.5.tar.gz
echo
echo "Unpacking fftw-2.1.5"
tar xf fftw-2.1.5.tar.gz
echo
fi
# patch -p0 < ../patches/privateer-emscripten.patch
cd ..