diff --git a/package/ctcgfw/luci-app-smstool/Makefile b/package/ctcgfw/luci-app-smstool/Makefile index 113d5a93ba..81b828d6ac 100644 --- a/package/ctcgfw/luci-app-smstool/Makefile +++ b/package/ctcgfw/luci-app-smstool/Makefile @@ -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 diff --git a/package/ctcgfw/luci-app-smstool/files/usr/lib/lua/luci/controller/sms.lua b/package/ctcgfw/luci-app-smstool/luasrc/controller/sms.lua similarity index 100% rename from package/ctcgfw/luci-app-smstool/files/usr/lib/lua/luci/controller/sms.lua rename to package/ctcgfw/luci-app-smstool/luasrc/controller/sms.lua diff --git a/package/ctcgfw/luci-app-smstool/files/usr/lib/lua/luci/view/sms.htm b/package/ctcgfw/luci-app-smstool/luasrc/view/sms.htm similarity index 100% rename from package/ctcgfw/luci-app-smstool/files/usr/lib/lua/luci/view/sms.htm rename to package/ctcgfw/luci-app-smstool/luasrc/view/sms.htm