mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-05 00:33:56 +08:00
🤞 Sync 2026-04-23 06:19:46
This commit is contained in:
1 parent
a1df15cd3d
commit
b86d032e91
250 files changed
+41507
-188
No files matched your search
Executable
+40
@@ -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))
|
||||
Reference in new issue
Block a user