README.md: Update build instructions
This commit is contained in:
parent
1e3d272afa
commit
e21b777f11
21
README.md
21
README.md
@ -4,26 +4,39 @@ A file list program that supports multiple storage.
|
|||||||
|
|
||||||
## How to build
|
## How to build
|
||||||
|
|
||||||
|
- Install `libfuse` development package.
|
||||||
|
|
||||||
|
- ubuntu/debian:
|
||||||
|
```shell
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install libfuse-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
- redhat:
|
||||||
|
```shell
|
||||||
|
sudo yum install fuse-devel
|
||||||
|
```
|
||||||
|
|
||||||
- Enter in your openwrt dir
|
- Enter in your openwrt dir
|
||||||
|
|
||||||
- Openwrt official SnapShots
|
- Openwrt official SnapShots
|
||||||
|
|
||||||
*1. update golang 19.x (Fix build for `openwrt-21.02/22.03` branches)*
|
*1. requires golang 1.19.x or latest version (Fix build for older branches of OpenWrt.)*
|
||||||
```shell
|
```shell
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
svn export https://github.com/sbwml/packages_lang_golang/branches/19.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 20.x feeds/packages/lang/golang
|
||||||
```
|
```
|
||||||
|
|
||||||
*2. get luci-app-alist source & building*
|
*2. get luci-app-alist source & building*
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/sbwml/luci-app-alist package/alist
|
git clone https://github.com/sbwml/luci-app-alist package/alist
|
||||||
make menuconfig # choose LUCI -> Applications -> luci-app-alist
|
make menuconfig # choose LUCI -> Applications -> luci-app-alist
|
||||||
make V=s
|
make package/alist/luci-app-alist/compile V=s # build luci-app-alist
|
||||||
```
|
```
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
## How to install prebuilt packages (OpenWrt 21,22,master)
|
## How to install prebuilt packages
|
||||||
|
|
||||||
- Login OpenWrt terminal (SSH)
|
- Login OpenWrt terminal (SSH)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user