mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 03:13:56 +08:00
Create beszel.patch
This commit is contained in:
1 parent
312de7b9d4
commit
adfd2dde24
1 file changed
+26
@@ -0,0 +1,26 @@
|
|||||||
|
--- a/beszel-agent/Makefile
|
||||||
|
+++ b/beszel-agent/Makefile
|
||||||
|
@@ -4,10 +4,22 @@ PKG_NAME:=beszel-agent
|
||||||
|
PKG_VERSION:=$(or $(BESZEL_VERSION),0.0.0)
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
-PKG_SOURCE:=$(PKG_NAME)_linux_$(or $(BESZEL_GOARCH),arm64).tar.gz
|
||||||
|
+PKG_SOURCE:=$(PKG_NAME)_linux_$(PKG_ARCH).tar.gz
|
||||||
|
PKG_SOURCE_URL:=https://github.com/henrygd/beszel/releases/download/v$(PKG_VERSION)/
|
||||||
|
PKG_HASH:=skip
|
||||||
|
|
||||||
|
+ifeq ($(ARCH),aarch64)
|
||||||
|
+ PKG_ARCH:=arm64
|
||||||
|
+else ifeq ($(ARCH),x86_64)
|
||||||
|
+ PKG_ARCH:=amd64
|
||||||
|
+else ifeq ($(ARCH),mipsel)
|
||||||
|
+ PKG_ARCH:=mipsle
|
||||||
|
+else ifeq ($(ARCH),powerpc64le)
|
||||||
|
+ PKG_ARCH:=ppc64le
|
||||||
|
+else
|
||||||
|
+ PKG_ARCH:=$(ARCH)
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
PKG_LICENSE:=MIT
|
||||||
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
Reference in new issue
Block a user