🤞 Sync 2026-04-23 06:19:46

This commit is contained in:
github-actions[bot] committed 2026-04-23 06:19:46 +08:00
1 parent a1df15cd3d
commit b86d032e91
250 files changed
+41507 -188

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=powersupply
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/powersupply
include $(INCLUDE_DIR)/package.mk
define Package/powersupply
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Power Supply for LT70
PKGARCH:=all
endef
define Package/powersupply/description
This package contains a utility for powersupply
endef
define Build/Prepare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/powersupply/install
$(INSTALL_DIR) $(1)/etc/config
$(CP) ./files/powersupply.config $(1)/etc/config/powersupply
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/powersupply.init $(1)/etc/init.d/powersupply
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) ./files/powersupply.rpcd $(1)/usr/libexec/rpcd/powersupply
endef
$(eval $(call BuildPackage,powersupply))