mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 10:43:56 +08:00
⛅ Sync 2026-07-24 08:29:53
This commit is contained in:
1 parent
69971e6c15
commit
17e81fce20
2 files changed
+48
-9
No files matched your search
@@ -0,0 +1,45 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2026
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v3.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=virtualdog-efi
|
||||||
|
PKG_VERSION:=0.0.1
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/
|
||||||
|
PKG_HASH:=skip
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
PKGARCH:=all
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)
|
||||||
|
SECTION:=net
|
||||||
|
CATEGORY:=Network
|
||||||
|
SUBMENU:=Web Servers/Proxies
|
||||||
|
TITLE:=VirtualDog ARM64 UEFI firmware
|
||||||
|
DEPENDS:=@(x86_64||aarch64)
|
||||||
|
URL:=https://example.invalid/virtualdog
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/description
|
||||||
|
VirtualDog ARM64 UEFI firmware for qemu-system-aarch64 virtual machines.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/share/virtualdog
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/QEMU_EFI.fd $(1)/usr/share/virtualdog/QEMU_EFI.fd
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||||
+3
-9
@@ -7,8 +7,8 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=virtualdog
|
PKG_NAME:=virtualdog
|
||||||
PKG_VERSION:=0.0.3
|
PKG_VERSION:=0.0.4
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
# Point this at the released binary tarball when you publish builds.
|
# Point this at the released binary tarball when you publish builds.
|
||||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/
|
PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/
|
||||||
@@ -22,18 +22,12 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
|
|
||||||
PKG_ARCH_virtualdog:=$(ARCH)
|
PKG_ARCH_virtualdog:=$(ARCH)
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
|
||||||
VIRTUALDOG_QEMU_PKG:=qemu-x86_64-softmmu
|
|
||||||
else ifeq ($(ARCH),aarch64)
|
|
||||||
VIRTUALDOG_QEMU_PKG:=qemu-aarch64-softmmu
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/$(PKG_NAME)
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=Web Servers/Proxies
|
SUBMENU:=Web Servers/Proxies
|
||||||
TITLE:=VirtualDog
|
TITLE:=VirtualDog
|
||||||
DEPENDS:=@(x86_64||aarch64) +$(VIRTUALDOG_QEMU_PKG) +qemu-img +qemu-bridge-helper +kmod-tun
|
DEPENDS:=@(x86_64||aarch64) +qemu-x86_64-softmmu +qemu-aarch64-softmmu +qemu-img +qemu-bridge-helper +kmod-tun +virtualdog-efi
|
||||||
URL:=https://example.invalid/virtualdog
|
URL:=https://example.invalid/virtualdog
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user