From 2aee1f3f15d584d0c70b58e118d7971186d9ff20 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Mon, 13 Apr 2020 02:21:38 +0800 Subject: [PATCH] luci-app-k3screenctrl: sort out files --- package/ctcgfw/luci-app-k3screenctrl/Makefile | 40 ++++--------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/package/ctcgfw/luci-app-k3screenctrl/Makefile b/package/ctcgfw/luci-app-k3screenctrl/Makefile index 3b2c59c5e0..7f52b42032 100644 --- a/package/ctcgfw/luci-app-k3screenctrl/Makefile +++ b/package/ctcgfw/luci-app-k3screenctrl/Makefile @@ -2,43 +2,19 @@ include $(TOPDIR)/rules.mk +LUCI_TITLE:=LuCI Support for k3screenctrl +LUCI_DESCRIPTION:=LuCI Support for k3screenctrl. +LUCI_DEPENDS:=+phicomm-k3screenctrl +@BUSYBOX_CONFIG_ARPING +LUCI_PKGARCH:=all + PKG_NAME:=luci-app-k3screenctrl PKG_VERSION:=1.1.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPLv3 PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Hill -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) +include $(TOPDIR)/feeds/luci/luci.mk -include $(INCLUDE_DIR)/package.mk - -define Build/Configure -endef - -define Build/Compile -endef - -define Package/$(PKG_NAME) - SECTION:=luci - CATEGORY:=LuCI - SUBMENU:=3. Applications - TITLE:=LuCI Support for k3screenctrl - DEPENDS:=@PACKAGE_phicomm-k3screenctrl +phicomm-k3screenctrl +@BUSYBOX_CONFIG_ARPING -endef - -define Package/$(PKG_NAME)/description - LuCI Support for k3screenctrl. -endef - -define Package/$(PKG_NAME)/install - $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller - $(INSTALL_DATA) ./luasrc/controller/k3screenctrl.lua $(1)/usr/lib/lua/luci/controller/ - $(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi - $(INSTALL_DATA) ./luasrc/model/cbi/k3screenctrl.lua $(1)/usr/lib/lua/luci/model/cbi/ - $(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n - po2lmo ./po/zh-cn/k3screenctrl.po $(1)/usr/lib/lua/luci/i18n/k3screenctrl.zh-cn.lmo -endef - -$(eval $(call BuildPackage,$(PKG_NAME))) +# call BuildPackage - OpenWrt buildroot signature