mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-11-06 03:20:39 +00:00
25 lines
344 B
Bash
25 lines
344 B
Bash
#!/bin/bash
|
|
|
|
LIBDIR=$PWD/../LIB/LZO
|
|
LZODIR=lzo-2.08
|
|
|
|
rm -rf $LIBDIR
|
|
rm -rf $LZODIR
|
|
tar -xf ${LZODIR}.tar.gz
|
|
|
|
|
|
cd $LZODIR
|
|
./configure --prefix=$LIBDIR --disable-shared
|
|
|
|
make && make install
|
|
|
|
cd ..
|
|
rm -rf $LZODIR
|
|
|
|
if [ -d $LIBDIR ]; then
|
|
echo -e "\n========== SUCCESS ============\n"
|
|
else
|
|
echo -e "\n========== FAILED ============\n"
|
|
fi
|
|
|