forked from alnux/repo
9 lines
289 B
Text
Executable file
9 lines
289 B
Text
Executable file
curl -# https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz
|
|
tar -xf zstd-1.5.0.tar.gz
|
|
cd zstd-1.5.0
|
|
|
|
make
|
|
make prefix="$1/usr"
|
|
rm -v $1/usr/lib/libzstd.a
|
|
mv -v $1/usr/lib/libzstd.so.* $1/lib
|
|
ln -sfv ../../lib/$(readlink $1/usr/lib/libzstd.so) $1/usr/lib/libzstd.so
|