luci-app-cd8021x: sort out files
This commit is contained in:
parent
11a569315e
commit
4e17218ab3
@ -1,47 +1,18 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=a wired IEEE 802.1x client for Luci
|
||||
LUCI_DESCRIPTION:=This package contains LuCI configuration pages for wired IEEE 802.1x authentication.
|
||||
LUCI_DEPENDS:=+wpad
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
PKG_NAME:=luci-app-cd8021x
|
||||
PKG_VERSION=1.2.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=1.2.2
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_LICENSE:=GPLv3
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_MAINTAINER:=max0y <askmaxwork@gmail.com>
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/luci-app-cd8021x
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=a wired IEEE 802.1x client for Luci
|
||||
PKGARCH:=all
|
||||
DEPENDS:=
|
||||
endef
|
||||
|
||||
define Package/luci-app-cd8021x/description
|
||||
This package contains LuCI configuration pages for wired IEEE 802.1x authentication.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-cd8021x/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller
|
||||
$(INSTALL_DATA) ./luasrc/controller/cd8021x.lua $(1)/usr/lib/lua/luci/controller/cd8021x.lua
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi
|
||||
$(INSTALL_DATA) ./luasrc/model/cbi/cd8021x.lua $(1)/usr/lib/lua/luci/model/cbi/cd8021x.lua
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./root/etc/config/cd8021x $(1)/etc/config/cd8021x
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./root/etc/init.d/cd8021x $(1)/etc/init.d/cd8021x
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
|
||||
po2lmo ./po/zh-cn/cd8021x.po $(1)/usr/lib/lua/luci/i18n/cd8021x.zh-cn.lmo
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-cd8021x))
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
||||
Loading…
Reference in New Issue
Block a user