29 lines
715 B
Markdown
29 lines
715 B
Markdown
# mihomo OpenWrt feed
|
|
|
|
This repository is a minimal OpenWrt feed containing only the mihomo package.
|
|
It uses the Go packaging infrastructure from the official `packages` feed.
|
|
|
|
Add both feeds to `feeds.conf.default`:
|
|
|
|
```text
|
|
src-git packages https://github.com/immortalwrt/packages.git
|
|
src-git mihomo <repository-url>
|
|
```
|
|
|
|
Then update and install the required packages:
|
|
|
|
```sh
|
|
./scripts/feeds update packages mihomo
|
|
./scripts/feeds install -p packages golang
|
|
./scripts/feeds install -p mihomo mihomo
|
|
```
|
|
|
|
Build mihomo with:
|
|
|
|
```sh
|
|
make package/feeds/mihomo/mihomo/compile V=s
|
|
```
|
|
|
|
The official `packages` feed must remain available because it provides the Go
|
|
compiler and `golang-package.mk` used by this package.
|