22369dd3540a0b7e1c3e351bf2f985011c54783e
[platform/upstream/btrfs-progs.git] / travis / build-dep-zstd
1 #!/bin/sh
2 # download, build and install the zstd library
3
4 version=1.3.3
5
6 set -e
7
8 mkdir tmp-zstd
9 cd tmp-zstd
10 wget https://github.com/facebook/zstd/archive/v${version}.tar.gz
11 tar xf v${version}.tar.gz
12 cd zstd-${version}
13 make
14 sudo make install PREFIX=/usr