luci-app-mentohust: fix Makefile
This commit is contained in:
parent
123d018cab
commit
f50f5c9b49
@ -1,47 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-mentohust
|
||||
PKG_VERSION=1.1.1
|
||||
PKG_VERSION:=1.1.1
|
||||
PKG_RELEASE:=0
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
LUCI_TITLE:=MentoHUST 802.1X Client for LuCI
|
||||
LUCI_DESCRIPTION:=This package contains LuCI configuration pages for 8021xclient.
|
||||
LUCI_DEPENDS:=+mentohust
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
define Package/luci-app-mentohust
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=MentoHUST 802.1X Client for LuCI
|
||||
PKGARCH:=all
|
||||
DEPENDS:=+mentohust
|
||||
endef
|
||||
|
||||
define Package/luci-app-mentohust/description
|
||||
This package contains LuCI configuration pages for 8021xclient.
|
||||
endef
|
||||
|
||||
define Package/luci-app-mentohust/conffiles
|
||||
/etc/config/mentohust
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-mentohust/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller
|
||||
$(INSTALL_DATA) ./luasrc/controller/*.lua $(1)/usr/lib/lua/luci/controller/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi
|
||||
$(INSTALL_DATA) ./luasrc/model/cbi/mentohust/*.lua $(1)/usr/lib/lua/luci/model/cbi/mentohust/
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./root/etc/config/mentohust $(1)/etc/config/mentohust
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/root/etc/init.d/mentohust $(1)/etc/init.d/mentohust
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
|
||||
po2lmo ./po/zh-cn/mentohust.po $(1)/usr/lib/lua/luci/i18n/mentohust.zh-cn.lmo
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-mentohust))
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
||||
Loading…
Reference in New Issue
Block a user