]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - SQUASHFS/SRC/build_lzma.sh
1.1.07 release
[Ventoy.git] / SQUASHFS / SRC / build_lzma.sh
1 #!/bin/bash
2
3 LIBDIR=$PWD/../LIB/LZMA
4
5 rm -rf $LIBDIR
6 rm -rf liblzma-master
7 unzip liblzma-master.zip
8
9 cd liblzma-master
10 ./configure --prefix=$LIBDIR --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --enable-small
11 make -j 8 && make install
12
13 cd ..
14 rm -rf liblzma-master
15
16 if [ -d $LIBDIR ]; then
17 echo -e "\n========== SUCCESS ============\n"
18 else
19 echo -e "\n========== FAILED ============\n"
20 fi
21
22