mirror of https://github.com/ventoy/Ventoy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
311 B
Bash
23 lines
311 B
Bash
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
LIBDIR=$PWD/../LIB/LZ4
|
||
|
|
||
|
rm -rf $LIBDIR
|
||
|
rm -rf lz4-1.8.1.2
|
||
|
tar -xf lz4-1.8.1.2.tar.gz
|
||
|
|
||
|
|
||
|
cd lz4-1.8.1.2
|
||
|
make && PREFIX=$LIBDIR make install
|
||
|
|
||
|
cd ..
|
||
|
rm -rf lz4-1.8.1.2
|
||
|
|
||
|
if [ -d $LIBDIR ]; then
|
||
|
echo -e "\n========== SUCCESS ============\n"
|
||
|
else
|
||
|
echo -e "\n========== FAILED ============\n"
|
||
|
fi
|
||
|
|
||
|
|