]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - FUSEISO/build_libfuse.sh
update README.md
[Ventoy.git] / FUSEISO / build_libfuse.sh
1 #!/bin/bash
2
3 #
4 #
5 # Package Dependency:
6 # gcc automake autoconf gettext gettext-devel libtool unzip
7 #
8 #
9
10
11 CUR="$PWD"
12 LIBFUSE_DIR=$CUR/LIBFUSE
13
14 rm -rf libfuse
15 rm -rf $LIBFUSE_DIR
16
17 # please download https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9
18 if [ -e ../ExFAT/mirrors-libfuse-fuse-2.9.9.zip ]; then
19 rm -rf libfuse
20 unzip ../ExFAT/mirrors-libfuse-fuse-2.9.9.zip
21 cd libfuse
22 elif [ -e ../ExFAT/libfuse-fuse-2.9.9.zip ]; then
23 rm -rf libfuse-fuse-2.9.9
24 unzip ../ExFAT/libfuse-fuse-2.9.9.zip
25 cd libfuse-fuse-2.9.9
26 else
27 echo "Please download mirrors-libfuse-fuse-2.9.9.zip first"
28 exit 1
29 fi
30
31
32 ./makeconf.sh
33
34 ./configure --prefix="$LIBFUSE_DIR"
35 make -j 16
36 make install
37 cd ..
38 rm -rf libfuse