luci-app-smstool: sort out files

This commit is contained in:
CN_SZTL 2020-04-13 02:30:21 +08:00
parent 35e2ab75b0
commit 21c4cd2382
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 8 additions and 34 deletions

View File

@ -1,40 +1,14 @@
include $(TOPDIR)/rules.mk
LUCI_TITLE:=SMS Tool for 3G Modem
LUCI_DESCRIPTION:=This package contains sms tool for 3G Modem
LUCI_PKGARCH:=all
PKG_NAME:=luci-app-smstool
PKG_VERSION=1.0
PKG_RELEASE:=1
PKG_VERSION:=1.0
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/feeds/luci/luci.mk
include $(INCLUDE_DIR)/package.mk
define Package/luci-app-smstool
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=SMS Tool for 3G Modem
PKGARCH:=all
endef
define Package/luci-app-smstool/description
This package contains sms tool for 3G Modem
endef
define Build/Prepare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/luci-app-smstool/install
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/view
$(INSTALL_DATA) ./files/usr/lib/lua/luci/controller/sms.lua $(1)/usr/lib/lua/luci/controller/sms.lua
$(INSTALL_DATA) ./files//usr/lib/lua/luci/view/sms.htm $(1)/usr/lib/lua/luci/view/sms.htm
endef
$(eval $(call BuildPackage,luci-app-smstool))
# call BuildPackage - OpenWrt buildroot signature